| Index: src/x64/lithium-codegen-x64.cc | 
| =================================================================== | 
| --- src/x64/lithium-codegen-x64.cc	(revision 7468) | 
| +++ src/x64/lithium-codegen-x64.cc	(working copy) | 
| @@ -2019,7 +2019,7 @@ | 
| } | 
|  | 
|  | 
| -void LCodeGen::DoLoadGlobal(LLoadGlobal* instr) { | 
| +void LCodeGen::DoLoadGlobalCell(LLoadGlobalCell* instr) { | 
| Register result = ToRegister(instr->result()); | 
| if (result.is(rax)) { | 
| __ load_rax(instr->hydrogen()->cell().location(), | 
| @@ -2035,6 +2035,18 @@ | 
| } | 
|  | 
|  | 
| +void LCodeGen::DoLoadGlobalGeneric(LLoadGlobalGeneric* instr) { | 
| +  ASSERT(ToRegister(instr->global_object()).is(rax)); | 
| +  ASSERT(ToRegister(instr->result()).is(rax)); | 
| + | 
| +  __ Move(rcx, instr->name()); | 
| +  RelocInfo::Mode mode = instr->for_typeof() ? RelocInfo::CODE_TARGET : | 
| +                                               RelocInfo::CODE_TARGET_CONTEXT; | 
| +  Handle<Code> ic = isolate()->builtins()->LoadIC_Initialize(); | 
| +  CallCode(ic, mode, instr); | 
| +} | 
| + | 
| + | 
| void LCodeGen::DoStoreGlobal(LStoreGlobal* instr) { | 
| Register value = ToRegister(instr->InputAt(0)); | 
| Register temp = ToRegister(instr->TempAt(0)); | 
|  |