| Index: src/crankshaft/ppc/lithium-ppc.cc
|
| diff --git a/src/crankshaft/ppc/lithium-ppc.cc b/src/crankshaft/ppc/lithium-ppc.cc
|
| index 75aec2f86dd4e816683011cdadc186e863d963ba..f45c31c914b5083faae5afb3d6c794bdf9fef49f 100644
|
| --- a/src/crankshaft/ppc/lithium-ppc.cc
|
| +++ b/src/crankshaft/ppc/lithium-ppc.cc
|
| @@ -1950,12 +1950,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));
|
| }
|
|
|
|
|
| @@ -1969,11 +1964,7 @@ LInstruction* LChunkBuilder::DoStoreContextSlot(HStoreContextSlot* instr) {
|
| context = UseRegister(instr->context());
|
| value = UseRegister(instr->value());
|
| }
|
| - LInstruction* result = new (zone()) LStoreContextSlot(context, value);
|
| - if (instr->RequiresHoleCheck() && instr->DeoptimizesOnHole()) {
|
| - result = AssignEnvironment(result);
|
| - }
|
| - return result;
|
| + return new (zone()) LStoreContextSlot(context, value);
|
| }
|
|
|
|
|
|
|