Index: src/compiler/wasm-compiler.h |
diff --git a/src/compiler/wasm-compiler.h b/src/compiler/wasm-compiler.h |
index 2e86b5600ec63d2becbe246fe120b58968efc9ac..b7a948d0ab5207d95f6c444172b34e03a5bd543a 100644 |
--- a/src/compiler/wasm-compiler.h |
+++ b/src/compiler/wasm-compiler.h |
@@ -180,8 +180,8 @@ class WasmGraphBuilder { |
Node* BuildI32Popcnt(Node* input); |
Node* BuildI64Ctz(Node* input); |
Node* BuildI64Popcnt(Node* input); |
- Node* BuildRoundingInstruction(Node* input, ExternalReference ref, |
- MachineType type); |
+ Node* BuildCFuncInstruction(ExternalReference ref, MachineType type, |
+ Node* input0, Node* input1 = nullptr); |
Node* BuildF32Trunc(Node* input); |
Node* BuildF32Floor(Node* input); |
Node* BuildF32Ceil(Node* input); |
@@ -191,6 +191,18 @@ class WasmGraphBuilder { |
Node* BuildF64Ceil(Node* input); |
Node* BuildF64NearestInt(Node* input); |
+ Node* BuildF64Acos(Node* input); |
+ Node* BuildF64Asin(Node* input); |
+ Node* BuildF64Atan(Node* input); |
+ Node* BuildF64Cos(Node* input); |
+ Node* BuildF64Sin(Node* input); |
+ Node* BuildF64Tan(Node* input); |
+ Node* BuildF64Exp(Node* input); |
+ Node* BuildF64Log(Node* input); |
+ Node* BuildF64Pow(Node* left, Node* right); |
+ Node* BuildF64Atan2(Node* left, Node* right); |
+ Node* BuildF64Mod(Node* left, Node* right); |
+ |
Node** Realloc(Node** buffer, size_t count) { |
Node** buf = Buffer(count); |
if (buf != buffer) memcpy(buf, buffer, count * sizeof(Node*)); |