| Index: test/cctest/compiler/function-tester.h
|
| diff --git a/test/cctest/compiler/function-tester.h b/test/cctest/compiler/function-tester.h
|
| index 8b48e9fe901f07acfa17519d336db489286db465..54c62ab6340c21a2a0b9a893de67ca7dcb882e05 100644
|
| --- a/test/cctest/compiler/function-tester.h
|
| +++ b/test/cctest/compiler/function-tester.h
|
| @@ -63,7 +63,7 @@ class FunctionTester : public InitializedHandleScope {
|
| }
|
|
|
| void CheckThrows(Handle<Object> a, Handle<Object> b) {
|
| - TryCatch try_catch;
|
| + TryCatch try_catch(reinterpret_cast<v8::Isolate*>(isolate));
|
| MaybeHandle<Object> no_result = Call(a, b);
|
| CHECK(isolate->has_pending_exception());
|
| CHECK(try_catch.HasCaught());
|
| @@ -73,7 +73,7 @@ class FunctionTester : public InitializedHandleScope {
|
|
|
| v8::Handle<v8::Message> CheckThrowsReturnMessage(Handle<Object> a,
|
| Handle<Object> b) {
|
| - TryCatch try_catch;
|
| + TryCatch try_catch(reinterpret_cast<v8::Isolate*>(isolate));
|
| MaybeHandle<Object> no_result = Call(a, b);
|
| CHECK(isolate->has_pending_exception());
|
| CHECK(try_catch.HasCaught());
|
|
|