| Index: src/arm/lithium-arm.cc
|
| ===================================================================
|
| --- src/arm/lithium-arm.cc (revision 9327)
|
| +++ src/arm/lithium-arm.cc (working copy)
|
| @@ -1749,14 +1749,11 @@
|
|
|
|
|
| LInstruction* LChunkBuilder::DoStoreGlobalCell(HStoreGlobalCell* instr) {
|
| - if (instr->check_hole_value()) {
|
| - LOperand* temp = TempRegister();
|
| - LOperand* value = UseRegister(instr->value());
|
| - return AssignEnvironment(new LStoreGlobalCell(value, temp));
|
| - } else {
|
| - LOperand* value = UseRegisterAtStart(instr->value());
|
| - return new LStoreGlobalCell(value, NULL);
|
| - }
|
| + LOperand* temp = TempRegister();
|
| + LOperand* value = UseTempRegister(instr->value());
|
| + LInstruction* result = new LStoreGlobalCell(value, temp);
|
| + if (instr->check_hole_value()) result = AssignEnvironment(result);
|
| + return result;
|
| }
|
|
|
|
|
|
|