| Index: src/ia32/lithium-codegen-ia32.cc
|
| ===================================================================
|
| --- src/ia32/lithium-codegen-ia32.cc (revision 5936)
|
| +++ src/ia32/lithium-codegen-ia32.cc (working copy)
|
| @@ -1739,6 +1739,18 @@
|
| }
|
|
|
|
|
| +void LCodeGen::DoLoadGlobalGeneric(LLoadGlobalGeneric* instr) {
|
| + ASSERT(ToRegister(instr->result()).is(eax));
|
| + __ mov(eax, GlobalObjectOperand());
|
| + __ mov(ecx, instr->hydrogen()->name());
|
| + Handle<Code> ic(Builtins::builtin(Builtins::LoadIC_Initialize));
|
| + RelocInfo::Mode mode = instr->hydrogen()->inside_typeof()
|
| + ? RelocInfo::CODE_TARGET
|
| + : RelocInfo::CODE_TARGET_CONTEXT;
|
| + CallCode(ic, mode, instr);
|
| +}
|
| +
|
| +
|
| void LCodeGen::DoStoreGlobal(LStoreGlobal* instr) {
|
| Register value = ToRegister(instr->input());
|
| __ mov(Operand::Cell(instr->hydrogen()->cell()), value);
|
|
|