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..1d7484518c3c3e3d333a14c3794982e905db65b1 100644 |
--- a/test/cctest/test-thread-termination.cc |
+++ b/test/cctest/test-thread-termination.cc |
@@ -530,9 +530,10 @@ 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> result = |
- i::Execution::TryCall(CcTest::i_isolate(), v8::Utils::OpenHandle((*loop)), |
- v8::Utils::OpenHandle((*global)), 0, NULL, NULL); |
+ 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, nullptr, &exception); |
CHECK(result.is_null()); |
// TryCall ignores terminate execution, but rerequests the interrupt. |
CHECK(!args.GetIsolate()->IsExecutionTerminating()); |