| Index: src/arm/lithium-arm.cc
|
| diff --git a/src/arm/lithium-arm.cc b/src/arm/lithium-arm.cc
|
| index 03bee01cc52c74e1d63fd606d9e42d991ca27be3..26bcd20d8ac18dc37a2b52569c7a38938a1ff062 100644
|
| --- a/src/arm/lithium-arm.cc
|
| +++ b/src/arm/lithium-arm.cc
|
| @@ -1602,7 +1602,10 @@ LInstruction* LChunkBuilder::DoLoadGlobal(HLoadGlobal* instr) {
|
|
|
|
|
| LInstruction* LChunkBuilder::DoStoreGlobal(HStoreGlobal* instr) {
|
| - return new LStoreGlobal(UseRegisterAtStart(instr->value()));
|
| + LOperand* temp = TempRegister();
|
| + LOperand* value = UseRegister(instr->value());
|
| + LStoreGlobal* result = new LStoreGlobal(value, temp);
|
| + return AssignEnvironment(result);
|
| }
|
|
|
|
|
|
|