Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1099)

Unified Diff: test/common/wasm/wasm-module-runner.cc

Issue 2636803002: [wasm] Internal Instantiate function should not take memory as an arg from wasm (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/wasm/wasm-module.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 0432caf7049ad51a61cdc46acd66be173465b98f..7d0e00ee70a5eaf5801960fe8489ac3027a5f6f3 100644
--- a/test/common/wasm/wasm-module-runner.cc
+++ b/test/common/wasm/wasm-module-runner.cc
@@ -66,9 +66,9 @@ const Handle<WasmInstanceObject> InstantiateModuleForTesting(
thrower->CompileError("Module pre-validation failed.");
return Handle<WasmInstanceObject>::null();
}
- MaybeHandle<WasmInstanceObject> maybe_instance = WasmModule::Instantiate(
- isolate, thrower, module_object.ToHandleChecked(),
- Handle<JSReceiver>::null(), Handle<JSArrayBuffer>::null());
+ MaybeHandle<WasmInstanceObject> maybe_instance =
+ WasmModule::Instantiate(isolate, thrower, module_object.ToHandleChecked(),
+ Handle<JSReceiver>::null());
Handle<WasmInstanceObject> instance;
if (!maybe_instance.ToHandle(&instance)) {
return Handle<WasmInstanceObject>::null();
« no previous file with comments | « src/wasm/wasm-module.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698