[JAEGER] Added JSOP_ARGCNT, fixed bug in PROPDEC.

This commit is contained in:
David Anderson
2010-06-08 22:02:09 -07:00
parent 87dd4ed0d0
commit 8e0aca85e9
3 changed files with 22 additions and 1 deletions

View File

@@ -942,6 +942,12 @@ mjit::Compiler::generateMethod()
}
END_CASE(JSOP_CALLDSLOT)
BEGIN_CASE(JSOP_ARGCNT)
prepareStubCall();
stubCall(stubs::ArgCnt, Uses(0), Defs(1));
frame.pushSynced();
END_CASE(JSOP_ARGCNT)
BEGIN_CASE(JSOP_DEFLOCALFUN)
{
uint32 slot = GET_SLOTNO(PC);