diff options
Diffstat (limited to 'deps/v8/test/common/wasm/wasm-module-runner.cc')
-rw-r--r-- | deps/v8/test/common/wasm/wasm-module-runner.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/deps/v8/test/common/wasm/wasm-module-runner.cc b/deps/v8/test/common/wasm/wasm-module-runner.cc index 02d7185b71..d091aa5cd2 100644 --- a/deps/v8/test/common/wasm/wasm-module-runner.cc +++ b/deps/v8/test/common/wasm/wasm-module-runner.cc @@ -37,7 +37,7 @@ MaybeHandle<WasmInstanceObject> CompileAndInstantiateForTesting( isolate, thrower, module.ToHandleChecked(), {}, {}); } -std::unique_ptr<WasmModule> DecodeWasmModuleForTesting( +std::shared_ptr<WasmModule> DecodeWasmModuleForTesting( Isolate* isolate, ErrorThrower* thrower, const byte* module_start, const byte* module_end, ModuleOrigin origin, bool verify_functions) { // Decode the module, but don't verify function bodies, since we'll @@ -201,7 +201,7 @@ MaybeHandle<WasmExportedFunction> GetExportedFunction( Handle<JSObject> exports_object; Handle<Name> exports = isolate->factory()->InternalizeUtf8String("exports"); exports_object = Handle<JSObject>::cast( - JSObject::GetProperty(instance, exports).ToHandleChecked()); + JSObject::GetProperty(isolate, instance, exports).ToHandleChecked()); Handle<Name> main_name = isolate->factory()->NewStringFromAsciiChecked(name); PropertyDescriptor desc; |