Index: src/compiler/wasm-compiler.h |
diff --git a/src/compiler/wasm-compiler.h b/src/compiler/wasm-compiler.h |
index 9f423d2e185a403b8c62b50bb68739b3ad5afbed..8ef9b109b74de8a153dd5cf97baee4d93cf02686 100644 |
--- a/src/compiler/wasm-compiler.h |
+++ b/src/compiler/wasm-compiler.h |
@@ -89,6 +89,10 @@ Handle<JSFunction> CompileJSToWasmWrapper( |
Isolate* isolate, wasm::ModuleEnv* module, Handle<String> name, |
Handle<Code> wasm_code, Handle<JSObject> module_object, uint32_t index); |
+// Link functions |
+void Link(Isolate* isolate, std::vector<Handle<Code>>& unlinked_functions, |
+ const std::vector<Handle<Code>>& functions_to_link, int mode_mask); |
+ |
// Abstracts details of building TurboFan graph nodes for WASM to separate |
// the WASM decoder from the internal details of TurboFan. |
class WasmTrapHelper; |
@@ -239,7 +243,7 @@ class WasmGraphBuilder { |
Node* BuildCCall(MachineSignature* sig, Node** args); |
Node* BuildWasmCall(wasm::FunctionSig* sig, Node** args, |
- wasm::WasmCodePosition position); |
+ wasm::WasmCodePosition position, bool internal = false); |
Node* BuildF32Neg(Node* input); |
Node* BuildF64Neg(Node* input); |