Index: test/cctest/compiler/test-jump-threading.cc |
diff --git a/test/cctest/compiler/test-jump-threading.cc b/test/cctest/compiler/test-jump-threading.cc |
index 4365170395161ea54b00774bb87ee1cbfc5013db..894c9c7e3ebec8f7c95b10aa919624f5e87c2670 100644 |
--- a/test/cctest/compiler/test-jump-threading.cc |
+++ b/test/cctest/compiler/test-jump-threading.cc |
@@ -20,7 +20,7 @@ class TestCode : public HandleAndZoneScope { |
TestCode() |
: HandleAndZoneScope(), |
blocks_(main_zone()), |
- sequence_(main_zone(), &blocks_), |
+ sequence_(main_isolate(), main_zone(), &blocks_), |
rpo_number_(RpoNumber::FromInt(0)), |
current_(NULL) {} |
@@ -102,7 +102,7 @@ class TestCode : public HandleAndZoneScope { |
void VerifyForwarding(TestCode& code, int count, int* expected) { |
- Zone local_zone(code.main_isolate()); |
+ Zone local_zone; |
ZoneVector<RpoNumber> result(&local_zone); |
JumpThreading::ComputeForwarding(&local_zone, result, &code.sequence_); |