| Index: src/ia32/lithium-ia32.cc
|
| diff --git a/src/ia32/lithium-ia32.cc b/src/ia32/lithium-ia32.cc
|
| index a5066c6754e754b5e6bbeb07ed522805f0fce97c..100a2d44fac07075fccb776cac2e511c5e1b4a12 100644
|
| --- a/src/ia32/lithium-ia32.cc
|
| +++ b/src/ia32/lithium-ia32.cc
|
| @@ -1645,7 +1645,8 @@ LInstruction* LChunkBuilder::DoLoadGlobal(HLoadGlobal* instr) {
|
|
|
|
|
| LInstruction* LChunkBuilder::DoStoreGlobal(HStoreGlobal* instr) {
|
| - return new LStoreGlobal(UseRegisterAtStart(instr->value()));
|
| + LStoreGlobal* result = new LStoreGlobal(UseRegisterAtStart(instr->value()));
|
| + return instr->check_hole_value() ? AssignEnvironment(result) : result;
|
| }
|
|
|
|
|
|
|