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

Unified Diff: src/compiler/mips64/instruction-selector-mips64.cc

Issue 1507703002: [turbofan] Change TruncateFloat64ToUint64 to TryTruncateFloatToUint64. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Better arm64 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
Index: src/compiler/mips64/instruction-selector-mips64.cc
diff --git a/src/compiler/mips64/instruction-selector-mips64.cc b/src/compiler/mips64/instruction-selector-mips64.cc
index 8d9d782e71ae72d7bf76e2106ec9ed0f8460ce2a..af10ce5c2af43aa6b40b01492df437ed494eab3f 100644
--- a/src/compiler/mips64/instruction-selector-mips64.cc
+++ b/src/compiler/mips64/instruction-selector-mips64.cc
@@ -842,7 +842,11 @@ void InstructionSelector::VisitTruncateFloat32ToUint64(Node* node) {
}
-void InstructionSelector::VisitTruncateFloat64ToUint64(Node* node) {
+void InstructionSelector::VisitTryTruncateFloat64ToUint64(Node* node) {
+ if (NodeProperties::FindProjection(node, 1)) {
+ // TODO(mips): implement the second return value.
+ UNIMPLEMENTED();
+ }
VisitRR(this, kMips64TruncUlD, node);
}

Powered by Google App Engine
This is Rietveld 408576698