Index: src/compiler/wasm-compiler.h |
diff --git a/src/compiler/wasm-compiler.h b/src/compiler/wasm-compiler.h |
index 406336b0e189a05e50fe13987d2ef0924d35e496..a0209c316e16b0114beb25c60a6a01271be62f2f 100644 |
--- a/src/compiler/wasm-compiler.h |
+++ b/src/compiler/wasm-compiler.h |
@@ -83,13 +83,9 @@ Handle<Code> CompileWasmToJSWrapper(Isolate* isolate, |
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, |
- uint32_t index); |
+// Wraps a given wasm code object, producing a code object. |
+Handle<Code> CompileJSToWasmWrapper(Isolate* isolate, wasm::ModuleEnv* module, |
+ 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. |