| Index: src/ia32/lithium-ia32.cc
|
| diff --git a/src/ia32/lithium-ia32.cc b/src/ia32/lithium-ia32.cc
|
| index 0ad3819292b047037b2e43e64265babaf4b38d2d..29095cb00a6f0220a06a6a32519f7f74654149d3 100644
|
| --- a/src/ia32/lithium-ia32.cc
|
| +++ b/src/ia32/lithium-ia32.cc
|
| @@ -1716,7 +1716,9 @@ LInstruction* LChunkBuilder::DoLoadGlobal(HLoadGlobal* instr) {
|
|
|
|
|
| LInstruction* LChunkBuilder::DoStoreGlobal(HStoreGlobal* instr) {
|
| - LStoreGlobal* result = new LStoreGlobal(UseRegisterAtStart(instr->value()));
|
| + LStoreGlobal* result = new LStoreGlobal(UseTempRegister(instr->value()),
|
| + TempRegister(),
|
| + TempRegister());
|
| return instr->check_hole_value() ? AssignEnvironment(result) : result;
|
| }
|
|
|
|
|