[JAEGER] Added JSOP_DEFFUN, JSOP_NOP.
This commit is contained in:
@@ -262,6 +262,9 @@ mjit::Compiler::generateMethod()
|
||||
**********************/
|
||||
|
||||
switch (op) {
|
||||
BEGIN_CASE(JSOP_NOP)
|
||||
END_CASE(JSOP_NOP)
|
||||
|
||||
BEGIN_CASE(JSOP_GOTO)
|
||||
{
|
||||
/* :XXX: this isn't really necessary if we follow the branch. */
|
||||
@@ -337,6 +340,12 @@ mjit::Compiler::generateMethod()
|
||||
frame.pop();
|
||||
END_CASE(JSOP_SETNAME)
|
||||
|
||||
BEGIN_CASE(JSOP_DEFFUN)
|
||||
JS_ASSERT(frame.stackDepth() == 0);
|
||||
masm.move(Imm32(fullAtomIndex(PC)), Registers::ArgReg1);
|
||||
stubCall(stubs::DefFun, Uses(0), Defs(0));
|
||||
END_CASE(JSOP_DEFFUN)
|
||||
|
||||
BEGIN_CASE(JSOP_UINT24)
|
||||
frame.push(Value(Int32Tag((int32_t) GET_UINT24(PC))));
|
||||
END_CASE(JSOP_UINT24)
|
||||
|
||||
Reference in New Issue
Block a user