Index: src/crankshaft/mips/lithium-mips.cc |
diff --git a/src/crankshaft/mips/lithium-mips.cc b/src/crankshaft/mips/lithium-mips.cc |
index 3f03f2abab3488246361dcd3eebd9314ddbf4341..f6577b249d18108f8d2615e2bfe9df251f2928ea 100644 |
--- a/src/crankshaft/mips/lithium-mips.cc |
+++ b/src/crankshaft/mips/lithium-mips.cc |
@@ -986,7 +986,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); |
} |