Index: src/crankshaft/arm/lithium-arm.cc |
diff --git a/src/crankshaft/arm/lithium-arm.cc b/src/crankshaft/arm/lithium-arm.cc |
index 55d8d92cbab3fc3998fde79d5dbe70a6389e2581..4dd338e825f59683664d28bc3a320c48567ce367 100644 |
--- a/src/crankshaft/arm/lithium-arm.cc |
+++ b/src/crankshaft/arm/lithium-arm.cc |
@@ -981,7 +981,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); |
} |