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

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

Issue 1512023002: [turbofan] Change TruncateFloat32ToUint64 to TryTruncateFloat32ToUint64. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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/ppc/instruction-selector-ppc.cc
diff --git a/src/compiler/ppc/instruction-selector-ppc.cc b/src/compiler/ppc/instruction-selector-ppc.cc
index da9ce5fc5dccbaf26898afda8883448c88f7d378..d1359e59c4141740cbea3b0411a6cddabe1ebd5a 100644
--- a/src/compiler/ppc/instruction-selector-ppc.cc
+++ b/src/compiler/ppc/instruction-selector-ppc.cc
@@ -941,7 +941,11 @@ void InstructionSelector::VisitTryTruncateFloat64ToInt64(Node* node) {
}
-void InstructionSelector::VisitTruncateFloat32ToUint64(Node* node) {
+void InstructionSelector::VisitTryTruncateFloat32ToUint64(Node* node) {
+ if (NodeProperties::FindProjection(node, 1)) {
+ // TODO(ppc): implement the second return value.
+ UNIMPLEMENTED();
+ }
VisitRR(this, kPPC_DoubleToUint64, node);
}

Powered by Google App Engine
This is Rietveld 408576698