| Index: test/cctest/wasm/test-wasm-stack.cc
|
| diff --git a/test/cctest/wasm/test-wasm-stack.cc b/test/cctest/wasm/test-wasm-stack.cc
|
| index d590801a53b35c1c891f5a2454df6ea8678cdcf7..ad5fcc0396e3ac29173c574aafce2e9184930655 100644
|
| --- a/test/cctest/wasm/test-wasm-stack.cc
|
| +++ b/test/cctest/wasm/test-wasm-stack.cc
|
| @@ -51,10 +51,10 @@ struct ExceptionInfo {
|
| };
|
|
|
| template <int N>
|
| -void CheckExceptionInfos(Isolate* isolate, Handle<Object> exc,
|
| +void CheckExceptionInfos(Handle<Object> exc,
|
| const ExceptionInfo (&excInfos)[N]) {
|
| // Check that it's indeed an Error object.
|
| - CHECK(Object::IsErrorObject(isolate, exc));
|
| + CHECK(Object::IsErrorObject(exc));
|
|
|
| // Extract stack frame from the exception.
|
| Local<v8::Value> localExc = Utils::ToLocal(exc);
|
| @@ -118,8 +118,7 @@ TEST(CollectDetailedWasmStack_ExplicitThrowFromJs) {
|
| {"<WASM UNNAMED>", static_cast<int>(wasm_index_2), 2}, // -
|
| {"callFn", 1, 24} // -
|
| };
|
| - CheckExceptionInfos(isolate, maybe_exc.ToHandleChecked(),
|
| - expected_exceptions);
|
| + CheckExceptionInfos(maybe_exc.ToHandleChecked(), expected_exceptions);
|
| }
|
|
|
| // Trigger a trap in WASM, stack should be JS -> WASM -> WASM.
|
| @@ -161,6 +160,5 @@ TEST(CollectDetailedWasmStack_WasmError) {
|
| {"<WASM UNNAMED>", static_cast<int>(wasm_index_2), 2}, // -
|
| {"callFn", 1, 24} //-
|
| };
|
| - CheckExceptionInfos(isolate, maybe_exc.ToHandleChecked(),
|
| - expected_exceptions);
|
| + CheckExceptionInfos(maybe_exc.ToHandleChecked(), expected_exceptions);
|
| }
|
|
|