Index: src/compiler/wasm-compiler.h |
diff --git a/src/compiler/wasm-compiler.h b/src/compiler/wasm-compiler.h |
index 67e5e1688a357a950b117ef59b30f0046d247168..33c41d79a2a4eb7306a98d17b600e9364d9e181e 100644 |
--- a/src/compiler/wasm-compiler.h |
+++ b/src/compiler/wasm-compiler.h |
@@ -41,8 +41,8 @@ Handle<Code> CompileWasmFunction(wasm::ErrorThrower& thrower, Isolate* isolate, |
Handle<Code> CompileWasmToJSWrapper(Isolate* isolate, wasm::ModuleEnv* module, |
Handle<JSFunction> function, |
wasm::FunctionSig* sig, |
- const char* module_name, |
- const char* function_name); |
+ wasm::WasmName module_name, |
+ wasm::WasmName function_name); |
// Wraps a given wasm code object, producing a JSFunction that can be called |
// from JavaScript. |