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