Index: src/crankshaft/ia32/lithium-ia32.cc |
diff --git a/src/crankshaft/ia32/lithium-ia32.cc b/src/crankshaft/ia32/lithium-ia32.cc |
index 620a568a9cd626aacdd10c0bbc9059bd4fa16cc7..674eccade3b7bf5cedbe1ef001e3929e36213180 100644 |
--- a/src/crankshaft/ia32/lithium-ia32.cc |
+++ b/src/crankshaft/ia32/lithium-ia32.cc |
@@ -1020,7 +1020,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); |
} |