| Index: src/arm/lithium-arm.cc
|
| diff --git a/src/arm/lithium-arm.cc b/src/arm/lithium-arm.cc
|
| index 1a3267bc7dfc4892b153ef58acba2ac07eeef33d..5d31473495a7dc3d9f124294be362ea9f4716f44 100644
|
| --- a/src/arm/lithium-arm.cc
|
| +++ b/src/arm/lithium-arm.cc
|
| @@ -1723,42 +1723,26 @@ LInstruction* LChunkBuilder::DoConstant(HConstant* instr) {
|
| }
|
|
|
|
|
| -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(), r0);
|
| - LLoadGlobalGeneric* result = new LLoadGlobalGeneric(global_object);
|
| - return MarkAsCall(DefineFixed(result, r0), instr);
|
| -}
|
| -
|
| -
|
| -LInstruction* LChunkBuilder::DoStoreGlobalCell(HStoreGlobalCell* instr) {
|
| +LInstruction* LChunkBuilder::DoStoreGlobal(HStoreGlobal* instr) {
|
| if (instr->check_hole_value()) {
|
| LOperand* temp = TempRegister();
|
| LOperand* value = UseRegister(instr->value());
|
| - return AssignEnvironment(new LStoreGlobalCell(value, temp));
|
| + return AssignEnvironment(new LStoreGlobal(value, temp));
|
| } else {
|
| LOperand* value = UseRegisterAtStart(instr->value());
|
| - return new LStoreGlobalCell(value, NULL);
|
| + return new LStoreGlobal(value, NULL);
|
| }
|
| }
|
|
|
|
|
| -LInstruction* LChunkBuilder::DoStoreGlobalGeneric(HStoreGlobalGeneric* instr) {
|
| - LOperand* global_object = UseFixed(instr->global_object(), r1);
|
| - LOperand* value = UseFixed(instr->value(), r0);
|
| - LStoreGlobalGeneric* result =
|
| - new LStoreGlobalGeneric(global_object, value);
|
| - return MarkAsCall(result, instr);
|
| -}
|
| -
|
| -
|
| LInstruction* LChunkBuilder::DoLoadContextSlot(HLoadContextSlot* instr) {
|
| LOperand* context = UseRegisterAtStart(instr->value());
|
| return DefineAsRegister(new LLoadContextSlot(context));
|
|
|