[JAEGER] Added JSOP_NAME.

This commit is contained in:
David Anderson
2010-05-28 00:54:01 -07:00
parent 85311e85d0
commit 6b647b9b55
4 changed files with 103 additions and 1 deletions

View File

@@ -273,6 +273,13 @@ mjit::Compiler::generateMethod()
BEGIN_CASE(JSOP_TRACE)
END_CASE(JSOP_TRACE)
BEGIN_CASE(JSOP_NAME)
prepareStubCall();
masm.move(Imm32(fullAtomIndex(PC)), Registers::ArgReg1);
stubCall(stubs::Name, Uses(0), Defs(1));
frame.push();
END_CASE(JSOP_NAME)
BEGIN_CASE(JSOP_DOUBLE)
{
uint32 index = fullAtomIndex(PC);