| Index: src/crankshaft/x64/lithium-x64.cc
|
| diff --git a/src/crankshaft/x64/lithium-x64.cc b/src/crankshaft/x64/lithium-x64.cc
|
| index 7fb3dc61b45b78c8291a47f67a998d0d59ec327b..e7532cd804b4f58c00292c964859ae90ffb7d2a7 100644
|
| --- a/src/crankshaft/x64/lithium-x64.cc
|
| +++ b/src/crankshaft/x64/lithium-x64.cc
|
| @@ -1003,7 +1003,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);
|
| }
|
|
|
|
|
|
|