Index: test/cctest/test-thread-termination.cc |
diff --git a/test/cctest/test-thread-termination.cc b/test/cctest/test-thread-termination.cc |
index cda8468d4822340c6fddd66172a4484c25010ebc..d288eb7242ef050b62cb41e5e453c571fc7f182b 100644 |
--- a/test/cctest/test-thread-termination.cc |
+++ b/test/cctest/test-thread-termination.cc |
@@ -530,9 +530,11 @@ void InnerTryCallTerminate(const v8::FunctionCallbackInfo<v8::Value>& args) { |
v8::Local<v8::Function> loop = v8::Local<v8::Function>::Cast( |
global->Get(CcTest::isolate()->GetCurrentContext(), v8_str("loop")) |
.ToLocalChecked()); |
+ i::MaybeHandle<i::Object> exception; |
i::MaybeHandle<i::Object> result = |
i::Execution::TryCall(CcTest::i_isolate(), v8::Utils::OpenHandle((*loop)), |
- v8::Utils::OpenHandle((*global)), 0, NULL, NULL); |
+ v8::Utils::OpenHandle((*global)), 0, nullptr, |
+ i::Execution::MessageHandling::kReport, &exception); |
CHECK(result.is_null()); |
// TryCall ignores terminate execution, but rerequests the interrupt. |
CHECK(!args.GetIsolate()->IsExecutionTerminating()); |