mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-09 09:18:42 +09:00
parent
34fe54e4e8
commit
7bfe087f0c
12 changed files with 122 additions and 0 deletions
|
|
@ -2122,6 +2122,9 @@ IonBuilder::inspectOpcode(JSOp op)
|
|||
case JSOP_LAMBDA_ARROW:
|
||||
return jsop_lambda_arrow(info().getFunction(pc));
|
||||
|
||||
case JSOP_SETFUNNAME:
|
||||
return jsop_setfunname(GET_UINT8(pc));
|
||||
|
||||
case JSOP_ITER:
|
||||
return jsop_iter(GET_INT8(pc));
|
||||
|
||||
|
|
@ -13339,6 +13342,21 @@ IonBuilder::jsop_lambda_arrow(JSFunction* fun)
|
|||
return resumeAfter(ins);
|
||||
}
|
||||
|
||||
bool
|
||||
IonBuilder::jsop_setfunname(uint8_t prefixKind)
|
||||
{
|
||||
MDefinition* name = current->pop();
|
||||
MDefinition* fun = current->pop();
|
||||
MOZ_ASSERT(fun->type() == MIRType::Object);
|
||||
|
||||
MSetFunName* ins = MSetFunName::New(alloc(), fun, name, prefixKind);
|
||||
|
||||
current->add(ins);
|
||||
current->push(fun);
|
||||
|
||||
return resumeAfter(ins);
|
||||
}
|
||||
|
||||
bool
|
||||
IonBuilder::jsop_setarg(uint32_t arg)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue