| Index: src/ia32/lithium-ia32.cc
|
| diff --git a/src/ia32/lithium-ia32.cc b/src/ia32/lithium-ia32.cc
|
| index d9192d45abab0965500f46c6821ecaa8dcfa6c30..ed126baa533bd93e89862db3b1efcd9a4b584653 100644
|
| --- a/src/ia32/lithium-ia32.cc
|
| +++ b/src/ia32/lithium-ia32.cc
|
| @@ -1761,12 +1761,23 @@ LInstruction* LChunkBuilder::DoLoadGlobalGeneric(HLoadGlobalGeneric* instr) {
|
| }
|
|
|
|
|
| -LInstruction* LChunkBuilder::DoStoreGlobal(HStoreGlobal* instr) {
|
| - LStoreGlobal* result = new LStoreGlobal(UseRegisterAtStart(instr->value()));
|
| +LInstruction* LChunkBuilder::DoStoreGlobalCell(HStoreGlobalCell* instr) {
|
| + LStoreGlobalCell* result =
|
| + new LStoreGlobalCell(UseRegisterAtStart(instr->value()));
|
| return instr->check_hole_value() ? AssignEnvironment(result) : result;
|
| }
|
|
|
|
|
| +LInstruction* LChunkBuilder::DoStoreGlobalGeneric(HStoreGlobalGeneric* instr) {
|
| + LOperand* context = UseFixed(instr->context(), esi);
|
| + LOperand* global_object = UseFixed(instr->global_object(), edx);
|
| + LOperand* value = UseFixed(instr->value(), eax);
|
| + LStoreGlobalGeneric* result =
|
| + new LStoreGlobalGeneric(context, global_object, value);
|
| + return MarkAsCall(result, instr);
|
| +}
|
| +
|
| +
|
| LInstruction* LChunkBuilder::DoLoadContextSlot(HLoadContextSlot* instr) {
|
| LOperand* context = UseRegisterAtStart(instr->value());
|
| return DefineAsRegister(new LLoadContextSlot(context));
|
|
|