| Index: src/crankshaft/x64/lithium-x64.cc
|
| diff --git a/src/crankshaft/x64/lithium-x64.cc b/src/crankshaft/x64/lithium-x64.cc
|
| index bc9040b94cc19c8f934d0b7dc36f6408029e0d78..318593e467356327396228e38c2e952571179df8 100644
|
| --- a/src/crankshaft/x64/lithium-x64.cc
|
| +++ b/src/crankshaft/x64/lithium-x64.cc
|
| @@ -1961,12 +1961,7 @@ LInstruction* LChunkBuilder::DoConstant(HConstant* instr) {
|
|
|
| LInstruction* LChunkBuilder::DoLoadContextSlot(HLoadContextSlot* instr) {
|
| LOperand* context = UseRegisterAtStart(instr->value());
|
| - LInstruction* result =
|
| - DefineAsRegister(new(zone()) LLoadContextSlot(context));
|
| - if (instr->RequiresHoleCheck() && instr->DeoptimizesOnHole()) {
|
| - result = AssignEnvironment(result);
|
| - }
|
| - return result;
|
| + return DefineAsRegister(new (zone()) LLoadContextSlot(context));
|
| }
|
|
|
|
|
| @@ -1982,11 +1977,7 @@ LInstruction* LChunkBuilder::DoStoreContextSlot(HStoreContextSlot* instr) {
|
| value = UseRegister(instr->value());
|
| temp = NULL;
|
| }
|
| - LInstruction* result = new(zone()) LStoreContextSlot(context, value, temp);
|
| - if (instr->RequiresHoleCheck() && instr->DeoptimizesOnHole()) {
|
| - result = AssignEnvironment(result);
|
| - }
|
| - return result;
|
| + return new (zone()) LStoreContextSlot(context, value, temp);
|
| }
|
|
|
|
|
|
|