Index: test/cctest/test-heap.cc |
diff --git a/test/cctest/test-heap.cc b/test/cctest/test-heap.cc |
index fb113019d85abbea4b991e3d7481298b79f47f8c..70a0597821b2c5407373e4b7906006d7982dace8 100644 |
--- a/test/cctest/test-heap.cc |
+++ b/test/cctest/test-heap.cc |
@@ -5346,7 +5346,7 @@ TEST(PreprocessStackTrace) { |
FLAG_gc_interval = -1; |
CcTest::InitializeVM(); |
v8::HandleScope scope(CcTest::isolate()); |
- v8::TryCatch try_catch; |
+ v8::TryCatch try_catch(CcTest::isolate()); |
CompileRun("throw new Error();"); |
CHECK(try_catch.HasCaught()); |
Isolate* isolate = CcTest::i_isolate(); |
@@ -5420,7 +5420,7 @@ TEST(Regress1878) { |
v8::Utils::ToLocal(CcTest::i_isolate()->internal_array_function()); |
CcTest::global()->Set(v8_str("InternalArray"), constructor); |
- v8::TryCatch try_catch; |
+ v8::TryCatch try_catch(isolate); |
CompileRun( |
"var a = Array();" |