Index: src/crankshaft/ppc/lithium-ppc.cc |
diff --git a/src/crankshaft/ppc/lithium-ppc.cc b/src/crankshaft/ppc/lithium-ppc.cc |
index b38982a18b3ad30f911e7d774d3341c66431977e..ec4a5519a6a056d5a567fd45d7e6f7d8e0399e6e 100644 |
--- a/src/crankshaft/ppc/lithium-ppc.cc |
+++ b/src/crankshaft/ppc/lithium-ppc.cc |
@@ -995,7 +995,9 @@ LInstruction* LChunkBuilder::DoHasInPrototypeChainAndBranch( |
HHasInPrototypeChainAndBranch* instr) { |
LOperand* object = UseRegister(instr->object()); |
LOperand* prototype = UseRegister(instr->prototype()); |
- return new (zone()) LHasInPrototypeChainAndBranch(object, prototype); |
+ LHasInPrototypeChainAndBranch* result = |
+ new (zone()) LHasInPrototypeChainAndBranch(object, prototype); |
+ return AssignEnvironment(result); |
} |