Index: src/compiler/jump-threading.cc |
diff --git a/src/compiler/jump-threading.cc b/src/compiler/jump-threading.cc |
index 5abd34633bd1a813d8d7a245af11aabb16879ea8..c73d1d3d88e30ff2f4bc6aa8bc82f6d18b829238 100644 |
--- a/src/compiler/jump-threading.cc |
+++ b/src/compiler/jump-threading.cc |
@@ -96,7 +96,9 @@ bool JumpThreading::ComputeForwarding(Zone* local_zone, |
// the frame at start. So we should move the decision of whether |
// to build a frame or not in the register allocator, and trickle it |
// here and to the code generator. |
- if (frame_at_start || !block->must_deconstruct_frame()) { |
+ if (frame_at_start || |
+ !(block->must_deconstruct_frame() || |
+ block->must_construct_frame())) { |
fw = code->InputRpo(instr, 0); |
} |
fallthru = false; |