Index: test/cctest/test-decls.cc |
diff --git a/test/cctest/test-decls.cc b/test/cctest/test-decls.cc |
index f3dc77710281e8bc8ffbbe03785a72df5ee9b5f0..84b6ca6485db6aa28426df60d420be388992c582 100644 |
--- a/test/cctest/test-decls.cc |
+++ b/test/cctest/test-decls.cc |
@@ -143,7 +143,7 @@ void DeclarationContext::Check(const char* source, |
// to avoid that. |
CcTest::heap()->CollectGarbage(v8::internal::NEW_SPACE); |
HandleScope scope(CcTest::isolate()); |
- TryCatch catcher; |
+ TryCatch catcher(CcTest::isolate()); |
catcher.SetVerbose(true); |
Local<Script> script = |
Script::Compile(String::NewFromUtf8(CcTest::isolate(), source)); |
@@ -567,7 +567,7 @@ class SimpleContext { |
Expectations expectations, |
v8::Handle<Value> value = Local<Value>()) { |
HandleScope scope(context_->GetIsolate()); |
- TryCatch catcher; |
+ TryCatch catcher(context_->GetIsolate()); |
catcher.SetVerbose(true); |
Local<Script> script = |
Script::Compile(String::NewFromUtf8(context_->GetIsolate(), source)); |