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

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

Issue 2094563002: [wasm] Complete separation of compilation and instantiation (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Incorporated Feedback 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
« no previous file with comments | « no previous file | src/compiler/wasm-compiler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/wasm-compiler.h
diff --git a/src/compiler/wasm-compiler.h b/src/compiler/wasm-compiler.h
index c03de3d7d46eef4b1c367737b655a4deedd78599..3412dc5b6c744d022d4b66704b07e9df74141509 100644
--- a/src/compiler/wasm-compiler.h
+++ b/src/compiler/wasm-compiler.h
@@ -79,15 +79,17 @@ class WasmCompilationUnit final {
// Wraps a JS function, producing a code object that can be called from WASM.
Handle<Code> CompileWasmToJSWrapper(Isolate* isolate,
Handle<JSFunction> function,
- wasm::FunctionSig* sig,
- wasm::WasmName module_name,
- wasm::WasmName function_name);
+ wasm::FunctionSig* sig, uint32_t index,
+ Handle<String> import_module,
+ MaybeHandle<String> import_function);
// Wraps a given wasm code object, producing a JSFunction that can be called
// from JavaScript.
-Handle<JSFunction> CompileJSToWasmWrapper(
- Isolate* isolate, wasm::ModuleEnv* module, Handle<String> name,
- Handle<Code> wasm_code, Handle<JSObject> module_object, uint32_t index);
+Handle<JSFunction> CompileJSToWasmWrapper(Isolate* isolate,
+ wasm::ModuleEnv* module,
+ Handle<String> name,
+ Handle<Code> wasm_code,
+ uint32_t index);
// Abstracts details of building TurboFan graph nodes for WASM to separate
// the WASM decoder from the internal details of TurboFan.
« no previous file with comments | « no previous file | src/compiler/wasm-compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698