| Index: src/compiler/raw-machine-assembler.h
|
| diff --git a/src/compiler/raw-machine-assembler.h b/src/compiler/raw-machine-assembler.h
|
| index 22892f194d3ea5cca24fc4c68703d927bf07295d..05195a8998ca49394511b0de8ff1c807d520cd54 100644
|
| --- a/src/compiler/raw-machine-assembler.h
|
| +++ b/src/compiler/raw-machine-assembler.h
|
| @@ -431,7 +431,12 @@ class RawMachineAssembler {
|
| return AddNode(machine()->TruncateFloat32ToInt64(), a);
|
| }
|
| Node* TruncateFloat64ToInt64(Node* a) {
|
| - return AddNode(machine()->TruncateFloat64ToInt64(), a);
|
| + // TODO(ahaas): Remove this function as soon as it is not used anymore in
|
| + // WebAssembly.
|
| + return AddNode(machine()->TryTruncateFloat64ToInt64(), a);
|
| + }
|
| + Node* TryTruncateFloat64ToInt64(Node* a) {
|
| + return AddNode(machine()->TryTruncateFloat64ToInt64(), a);
|
| }
|
| Node* TruncateFloat32ToUint64(Node* a) {
|
| return AddNode(machine()->TruncateFloat32ToUint64(), a);
|
|
|