Index: src/crankshaft/x87/lithium-x87.cc |
diff --git a/src/crankshaft/x87/lithium-x87.cc b/src/crankshaft/x87/lithium-x87.cc |
index 8dbf3f37b0995ea8af23b072cd7cd8d04211c0d7..31901e4be7f62a79ea18620af195640d0ae18b90 100644 |
--- a/src/crankshaft/x87/lithium-x87.cc |
+++ b/src/crankshaft/x87/lithium-x87.cc |
@@ -1038,7 +1038,9 @@ LInstruction* LChunkBuilder::DoHasInPrototypeChainAndBranch( |
LOperand* object = UseRegister(instr->object()); |
LOperand* prototype = UseRegister(instr->prototype()); |
LOperand* temp = TempRegister(); |
- return new (zone()) LHasInPrototypeChainAndBranch(object, prototype, temp); |
+ LHasInPrototypeChainAndBranch* result = |
+ new (zone()) LHasInPrototypeChainAndBranch(object, prototype, temp); |
+ return AssignEnvironment(result); |
} |