[JAEGER] Added JSOP_FORNAME.

This commit is contained in:
David Anderson
2010-06-08 18:55:12 -07:00
parent 1e65e3f507
commit d99c3f911e
3 changed files with 47 additions and 0 deletions

View File

@@ -849,6 +849,12 @@ mjit::Compiler::generateMethod()
}
END_CASE(JSOP_INITELEM)
BEGIN_CASE(JSOP_FORNAME)
prepareStubCall();
masm.move(ImmPtr(script->getAtom(fullAtomIndex(PC))), Registers::ArgReg1);
stubCall(stubs::ForName, Uses(0), Defs(0));
END_CASE(JSOP_FORNAME)
BEGIN_CASE(JSOP_BINDNAME)
jsop_bindname(fullAtomIndex(PC));
END_CASE(JSOP_BINDNAME)