Index: src/compiler/wasm-compiler.h |
diff --git a/src/compiler/wasm-compiler.h b/src/compiler/wasm-compiler.h |
index 4ed804758c0cda44b839843d171f03cb0bd31bdb..34217cd0933e0a3fbc198cd4dbdc7e97fdd8a24d 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. |