[JAEGER] Added JSOP_SETRVAL, JSOP_RETRVAL.

This commit is contained in:
David Anderson
2010-06-10 17:30:00 -07:00
parent 8c5c1f4e12
commit e03b82755b

View File

@@ -306,6 +306,7 @@ mjit::Compiler::generateMethod()
END_CASE(JSOP_PUSH)
BEGIN_CASE(JSOP_POPV)
BEGIN_CASE(JSOP_SETRVAL)
{
FrameEntry *fe = frame.peek(-1);
frame.storeTo(fe, Address(Assembler::FpReg, offsetof(JSStackFrame, rval)), true);
@@ -1014,6 +1015,10 @@ mjit::Compiler::generateMethod()
}
END_CASE(JSOP_DEFLOCALFUN)
BEGIN_CASE(JSOP_RETRVAL)
emitReturn();
END_CASE(JSOP_RETRVAL)
BEGIN_CASE(JSOP_REGEXP)
{
JSObject *regex = script->getRegExp(fullAtomIndex(PC));