Index: src/compiler/simplified-lowering.cc |
diff --git a/src/compiler/simplified-lowering.cc b/src/compiler/simplified-lowering.cc |
index 937d56a6e76b4547a4b1f0bbef392f2165b6d517..39fd8ffb909064569a2fde9178ce35afc65d619e 100644 |
--- a/src/compiler/simplified-lowering.cc |
+++ b/src/compiler/simplified-lowering.cc |
@@ -1803,6 +1803,9 @@ class RepresentationSelector { |
case IrOpcode::kFloat64RoundUp: |
return VisitUnop(node, UseInfo::TruncatingFloat64(), |
MachineRepresentation::kFloat64); |
+ case IrOpcode::kFloat64SilenceNaN: |
+ return VisitUnop(node, UseInfo::TruncatingFloat64(), |
+ MachineRepresentation::kFloat64); |
case IrOpcode::kFloat64Equal: |
case IrOpcode::kFloat64LessThan: |
case IrOpcode::kFloat64LessThanOrEqual: |
@@ -1816,6 +1819,11 @@ class RepresentationSelector { |
return VisitBinop(node, UseInfo::TruncatingFloat64(), |
UseInfo::TruncatingWord32(), |
MachineRepresentation::kFloat64); |
+ case IrOpcode::kNumberSilenceNaN: |
+ VisitUnop(node, UseInfo::TruncatingFloat64(), |
+ MachineRepresentation::kFloat64); |
+ if (lower()) NodeProperties::ChangeOp(node, Float64Op(node)); |
+ return; |
case IrOpcode::kLoadStackPointer: |
case IrOpcode::kLoadFramePointer: |
case IrOpcode::kLoadParentFramePointer: |