Index: src/compiler/jump-threading.cc |
diff --git a/src/compiler/jump-threading.cc b/src/compiler/jump-threading.cc |
index c73d1d3d88e30ff2f4bc6aa8bc82f6d18b829238..55542825e77e526125ee9aafd78a32b2c304e924 100644 |
--- a/src/compiler/jump-threading.cc |
+++ b/src/compiler/jump-threading.cc |
@@ -143,7 +143,7 @@ void JumpThreading::ApplyForwarding(ZoneVector<RpoNumber>& result, |
InstructionSequence* code) { |
if (!FLAG_turbo_jt) return; |
- Zone local_zone; |
+ Zone local_zone(code->isolate()->allocator()); |
ZoneVector<bool> skip(static_cast<int>(result.size()), false, &local_zone); |
// Skip empty blocks when the previous block doesn't fall through. |