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

Unified Diff: src/wasm/wasm-module.h

Issue 2094563002: [wasm] Complete separation of compilation and instantiation (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: MaybeHandle Created 4 years, 6 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
Index: src/wasm/wasm-module.h
diff --git a/src/wasm/wasm-module.h b/src/wasm/wasm-module.h
index 019dc56af6478d6826172c11af2a7f3d5c6dc3ec..3de1b46eb6a98ff93d1f2fad0abd1df27b1ca368 100644
--- a/src/wasm/wasm-module.h
+++ b/src/wasm/wasm-module.h
@@ -224,8 +224,10 @@ struct WasmModule {
}
// Creates a new instantiation of the module in the given isolate.
- MaybeHandle<JSObject> Instantiate(Isolate* isolate, Handle<JSReceiver> ffi,
- Handle<JSArrayBuffer> memory) const;
+ static MaybeHandle<JSObject> Instantiate(Isolate* isolate,
+ Handle<FixedArray> compiled_module,
+ Handle<JSReceiver> ffi,
+ Handle<JSArrayBuffer> memory);
Handle<FixedArray> CompileFunctions(Isolate* isolate) const;

Powered by Google App Engine
This is Rietveld 408576698