Index: src/x64/lithium-x64.cc |
=================================================================== |
--- src/x64/lithium-x64.cc (revision 7218) |
+++ src/x64/lithium-x64.cc (working copy) |
@@ -1716,21 +1716,14 @@ |
} |
-LInstruction* LChunkBuilder::DoLoadGlobalCell(HLoadGlobalCell* instr) { |
- LLoadGlobalCell* result = new LLoadGlobalCell; |
+LInstruction* LChunkBuilder::DoLoadGlobal(HLoadGlobal* instr) { |
+ LLoadGlobal* result = new LLoadGlobal; |
return instr->check_hole_value() |
? AssignEnvironment(DefineAsRegister(result)) |
: DefineAsRegister(result); |
} |
-LInstruction* LChunkBuilder::DoLoadGlobalGeneric(HLoadGlobalGeneric* instr) { |
- LOperand* global_object = UseFixed(instr->global_object(), rax); |
- LLoadGlobalGeneric* result = new LLoadGlobalGeneric(global_object); |
- return MarkAsCall(DefineFixed(result, rax), instr); |
-} |
- |
- |
LInstruction* LChunkBuilder::DoStoreGlobal(HStoreGlobal* instr) { |
LStoreGlobal* result = new LStoreGlobal(UseRegister(instr->value()), |
TempRegister()); |