Index: test/common/wasm/wasm-module-runner.cc |
diff --git a/test/common/wasm/wasm-module-runner.cc b/test/common/wasm/wasm-module-runner.cc |
index 7bbacc77c12e7ef99433fccb4122bcae3b44f47f..809425bfe3de4570099fd6943f41c6e29f84b892 100644 |
--- a/test/common/wasm/wasm-module-runner.cc |
+++ b/test/common/wasm/wasm-module-runner.cc |
@@ -67,8 +67,8 @@ const Handle<JSObject> InstantiateModuleForTesting(Isolate* isolate, |
ModuleOrigin::kWasmOrigin); |
if (module_object.is_null()) return Handle<JSObject>::null(); |
MaybeHandle<JSObject> maybe_instance = WasmModule::Instantiate( |
- isolate, module_object.ToHandleChecked(), Handle<JSReceiver>::null(), |
- Handle<JSArrayBuffer>::null()); |
+ isolate, thrower, module_object.ToHandleChecked(), |
+ Handle<JSReceiver>::null(), Handle<JSArrayBuffer>::null()); |
Handle<JSObject> instance; |
if (!maybe_instance.ToHandle(&instance)) { |
return Handle<JSObject>::null(); |