[JAEGER] Added JSOP_GLOBALINC, JSOP_GLOBALDEC, JSOP_INCGLOBAL, JSOP_DECGLOBAL.

This commit is contained in:
David Anderson
2010-05-30 19:44:29 -07:00
parent 7240763c5d
commit 3da7ebecca
13 changed files with 321 additions and 42 deletions

View File

@@ -349,6 +349,15 @@ mjit::Compiler::generateMethod()
jsop_setglobal(GET_SLOTNO(PC));
END_CASE(JSOP_SETGLOBAL)
BEGIN_CASE(JSOP_INCGLOBAL)
BEGIN_CASE(JSOP_DECGLOBAL)
BEGIN_CASE(JSOP_GLOBALINC)
BEGIN_CASE(JSOP_GLOBALDEC)
/* Advances PC automatically. */
jsop_globalinc(op, GET_SLOTNO(PC));
break;
END_CASE(JSOP_GLOBALINC)
default:
/* Sorry, this opcode isn't implemented yet. */
#ifdef JS_METHODJIT_SPEW