mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-07 00:08:39 +09:00
parent
444483bf81
commit
5bf58e6044
14 changed files with 189 additions and 43 deletions
|
|
@ -2183,6 +2183,9 @@ IonBuilder::inspectOpcode(JSOp op)
|
|||
case JSOP_CHECKISOBJ:
|
||||
return jsop_checkisobj(GET_UINT8(pc));
|
||||
|
||||
case JSOP_CHECKISCALLABLE:
|
||||
return jsop_checkiscallable(GET_UINT8(pc));
|
||||
|
||||
case JSOP_CHECKOBJCOERCIBLE:
|
||||
return jsop_checkobjcoercible();
|
||||
|
||||
|
|
@ -10899,6 +10902,15 @@ IonBuilder::jsop_checkisobj(uint8_t kind)
|
|||
return true;
|
||||
}
|
||||
|
||||
bool
|
||||
IonBuilder::jsop_checkiscallable(uint8_t kind)
|
||||
{
|
||||
MCheckIsCallable* check = MCheckIsCallable::New(alloc(), current->pop(), kind);
|
||||
current->add(check);
|
||||
current->push(check);
|
||||
return true;
|
||||
}
|
||||
|
||||
bool
|
||||
IonBuilder::jsop_checkobjcoercible()
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue