Index: src/compiler/wasm-compiler.h |
diff --git a/src/compiler/wasm-compiler.h b/src/compiler/wasm-compiler.h |
index 082f198bf49f01d48dc0bba009a7f8ae83303aaa..2e86b5600ec63d2becbe246fe120b58968efc9ac 100644 |
--- a/src/compiler/wasm-compiler.h |
+++ b/src/compiler/wasm-compiler.h |
@@ -40,7 +40,7 @@ Handle<Code> CompileWasmFunction(wasm::ErrorThrower& thrower, Isolate* isolate, |
// Wraps a JS function, producing a code object that can be called from WASM. |
Handle<Code> CompileWasmToJSWrapper(Isolate* isolate, wasm::ModuleEnv* module, |
Handle<JSFunction> function, |
- uint32_t index); |
+ wasm::FunctionSig* sig, const char* name); |
// Wraps a given wasm code object, producing a JSFunction that can be called |
// from JavaScript. |
@@ -100,6 +100,7 @@ class WasmGraphBuilder { |
Node* Unreachable(); |
Node* CallDirect(uint32_t index, Node** args); |
+ Node* CallImport(uint32_t index, Node** args); |
Node* CallIndirect(uint32_t index, Node** args); |
void BuildJSToWasmWrapper(Handle<Code> wasm_code, wasm::FunctionSig* sig); |
void BuildWasmToJSWrapper(Handle<JSFunction> function, |