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. |