Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(107)

Unified Diff: src/compiler/raw-machine-assembler.h

Issue 1512023002: [turbofan] Change TruncateFloat32ToUint64 to TryTruncateFloat32ToUint64. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Added better mips64 code. Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/compiler/ppc/instruction-selector-ppc.cc ('k') | src/compiler/typer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/raw-machine-assembler.h
diff --git a/src/compiler/raw-machine-assembler.h b/src/compiler/raw-machine-assembler.h
index f41bda3c98c6b1b4b39cedcc1f824bcb7ebd8e17..eb250889c91d23e76a519a8dbe9b4402115e52e2 100644
--- a/src/compiler/raw-machine-assembler.h
+++ b/src/compiler/raw-machine-assembler.h
@@ -444,7 +444,12 @@ class RawMachineAssembler {
return AddNode(machine()->TryTruncateFloat64ToInt64(), a);
}
Node* TruncateFloat32ToUint64(Node* a) {
- return AddNode(machine()->TruncateFloat32ToUint64(), a);
+ // TODO(ahaas): Remove this function as soon as it is not used anymore in
+ // WebAssembly.
+ return AddNode(machine()->TryTruncateFloat32ToUint64(), a);
+ }
+ Node* TryTruncateFloat32ToUint64(Node* a) {
+ return AddNode(machine()->TryTruncateFloat32ToUint64(), a);
}
Node* TruncateFloat64ToUint64(Node* a) {
// TODO(ahaas): Remove this function as soon as it is not used anymore in
« no previous file with comments | « src/compiler/ppc/instruction-selector-ppc.cc ('k') | src/compiler/typer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698