Index: src/compiler/wasm-compiler.h |
diff --git a/src/compiler/wasm-compiler.h b/src/compiler/wasm-compiler.h |
index 33c41d79a2a4eb7306a98d17b600e9364d9e181e..2322be43f0a6cc62acdf7c29c55ebaf8c3bb8cbb 100644 |
--- a/src/compiler/wasm-compiler.h |
+++ b/src/compiler/wasm-compiler.h |
@@ -207,7 +207,7 @@ class WasmGraphBuilder { |
Node* BuildF64Atan2(Node* left, Node* right); |
Node* BuildF64Mod(Node* left, Node* right); |
- Node* BuildConversionInstruction( |
+ Node* BuildIntToFloatConversionInstruction( |
Node* input, ExternalReference ref, |
MachineRepresentation parameter_representation, |
const MachineType result_type); |
@@ -216,6 +216,15 @@ class WasmGraphBuilder { |
Node* BuildF64SConvertI64(Node* input); |
Node* BuildF64UConvertI64(Node* input); |
+ Node* BuildFloatToIntConversionInstruction( |
+ Node* input, ExternalReference ref, |
+ MachineRepresentation parameter_representation, |
+ const MachineType result_type); |
+ Node* BuildI64SConvertF32(Node* input); |
+ Node* BuildI64UConvertF32(Node* input); |
+ Node* BuildI64SConvertF64(Node* input); |
+ Node* BuildI64UConvertF64(Node* input); |
+ |
Node** Realloc(Node** buffer, size_t count) { |
Node** buf = Buffer(count); |
if (buf != buffer) memcpy(buf, buffer, count * sizeof(Node*)); |