[JAEGER] Added JSOP_THIS.

This commit is contained in:
David Anderson
2010-06-04 23:14:20 -07:00
parent f204581604
commit cecf14f014
4 changed files with 25 additions and 4 deletions

View File

@@ -549,6 +549,16 @@ mjit::Compiler::generateMethod()
frame.push(NullTag());
END_CASE(JSOP_NULL)
BEGIN_CASE(JSOP_THIS)
/*
* :FIXME: We don't know whether it's a funobj or not... but we
* DO know it's an object! This can help downstream opcodes.
*/
prepareStubCall();
stubCall(stubs::This, Uses(0), Defs(1));
frame.pushSynced();
END_CASE(JSOP_THIS)
BEGIN_CASE(JSOP_FALSE)
frame.push(Value(BooleanTag(false)));
END_CASE(JSOP_FALSE)