| Index: src/ia32/lithium-codegen-ia32.cc
|
| ===================================================================
|
| --- src/ia32/lithium-codegen-ia32.cc (revision 10686)
|
| +++ src/ia32/lithium-codegen-ia32.cc (working copy)
|
| @@ -2690,6 +2690,15 @@
|
| }
|
|
|
|
|
| +void LCodeGen::DoDeclareGlobals(LDeclareGlobals* instr) {
|
| + ASSERT(ToRegister(instr->InputAt(0)).is(esi));
|
| + __ push(esi); // The context is the first argument.
|
| + __ push(Immediate(instr->hydrogen()->pairs()));
|
| + __ push(Immediate(Smi::FromInt(instr->hydrogen()->flags())));
|
| + CallRuntime(Runtime::kDeclareGlobals, 3, instr);
|
| +}
|
| +
|
| +
|
| void LCodeGen::DoGlobalObject(LGlobalObject* instr) {
|
| Register context = ToRegister(instr->context());
|
| Register result = ToRegister(instr->result());
|
|
|