[JAEGER] Added JSOP_UNBRAND,UNBRANDTHIS.

This commit is contained in:
David Anderson
2010-06-17 20:27:22 -07:00
parent 018f94dd2a
commit 1adf99d5c1
4 changed files with 25 additions and 0 deletions

View File

@@ -1265,6 +1265,15 @@ mjit::Compiler::generateMethod()
}
END_CASE(JSOP_INITMETHOD)
BEGIN_CASE(JSOP_UNBRAND)
jsop_unbrand();
END_CASE(JSOP_UNBRAND)
BEGIN_CASE(JSOP_UNBRANDTHIS)
jsop_this();
jsop_unbrand();
END_CASE(JSOP_UNBRANDTHIS)
BEGIN_CASE(JSOP_OBJTOSTR)
jsop_objtostr();
END_CASE(JSOP_OBJTOSTR)
@@ -2164,3 +2173,10 @@ mjit::Compiler::jsop_getelem_slow()
frame.pushSynced();
}
void
mjit::Compiler::jsop_unbrand()
{
prepareStubCall();
stubCall(stubs::Unbrand, Uses(0), Defs(0));
}