Index: src/crankshaft/mips64/lithium-mips64.cc |
diff --git a/src/crankshaft/mips64/lithium-mips64.cc b/src/crankshaft/mips64/lithium-mips64.cc |
index cd21c8104bc09111fecfef47664ee9a792cab1a0..422792c538949b3f50e2960f953b6487abf0cb0b 100644 |
--- a/src/crankshaft/mips64/lithium-mips64.cc |
+++ b/src/crankshaft/mips64/lithium-mips64.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); |
} |