| Index: src/compiler/wasm-compiler.h
|
| diff --git a/src/compiler/wasm-compiler.h b/src/compiler/wasm-compiler.h
|
| index aaa51f27ec9ef7dcae4cdd8110789bcef0540e9a..4e832aea310fe8c148e45efd37d159fd62163247 100644
|
| --- a/src/compiler/wasm-compiler.h
|
| +++ b/src/compiler/wasm-compiler.h
|
| @@ -81,7 +81,8 @@ class WasmCompilationUnit final {
|
| };
|
|
|
| // Wraps a JS function, producing a code object that can be called from WASM.
|
| -Handle<Code> CompileWasmToJSWrapper(Isolate* isolate, Handle<JSReceiver> target,
|
| +Handle<Code> CompileWasmToJSWrapper(Isolate* isolate, Handle<Context> context,
|
| + Handle<JSReceiver> target,
|
| wasm::FunctionSig* sig, uint32_t index,
|
| Handle<String> import_module,
|
| MaybeHandle<String> import_function);
|
| @@ -157,7 +158,8 @@ class WasmGraphBuilder {
|
| Node* CallIndirect(uint32_t index, Node** args,
|
| wasm::WasmCodePosition position);
|
| void BuildJSToWasmWrapper(Handle<Code> wasm_code, wasm::FunctionSig* sig);
|
| - void BuildWasmToJSWrapper(Handle<JSReceiver> target, wasm::FunctionSig* sig);
|
| + void BuildWasmToJSWrapper(Handle<Context> context, Handle<JSReceiver> target,
|
| + wasm::FunctionSig* sig);
|
|
|
| Node* ToJS(Node* node, wasm::LocalType type);
|
| Node* FromJS(Node* node, Node* context, wasm::LocalType type);
|
|
|