Index: src/compiler/raw-machine-assembler.h |
diff --git a/src/compiler/raw-machine-assembler.h b/src/compiler/raw-machine-assembler.h |
index 4005d8bad9dd39846303ccd10f68a5417c2f56fc..7c56e9c84ca0dff4f29d1cedca31098f737cc183 100644 |
--- a/src/compiler/raw-machine-assembler.h |
+++ b/src/compiler/raw-machine-assembler.h |
@@ -428,7 +428,12 @@ class RawMachineAssembler { |
return AddNode(machine()->ChangeFloat64ToUint32(), a); |
} |
Node* TruncateFloat32ToInt64(Node* a) { |
- return AddNode(machine()->TruncateFloat32ToInt64(), a); |
+ // TODO(ahaas): Remove this function as soon as it is not used anymore in |
+ // WebAssembly. |
+ return AddNode(machine()->TryTruncateFloat32ToInt64(), a); |
+ } |
+ Node* TryTruncateFloat32ToInt64(Node* a) { |
+ return AddNode(machine()->TryTruncateFloat32ToInt64(), a); |
} |
Node* TruncateFloat64ToInt64(Node* a) { |
// TODO(ahaas): Remove this function as soon as it is not used anymore in |