Index: src/compiler/simplified-lowering.cc |
diff --git a/src/compiler/simplified-lowering.cc b/src/compiler/simplified-lowering.cc |
index 7f5ac97cd612d396f3d229b26081d91d2f594a2a..5354ca8333161326d4d3e15a322b2e216b18a406 100644 |
--- a/src/compiler/simplified-lowering.cc |
+++ b/src/compiler/simplified-lowering.cc |
@@ -1394,6 +1394,12 @@ class RepresentationSelector { |
if (lower()) DeferReplacement(node, lowering->Float64Floor(node)); |
return; |
} |
+ case IrOpcode::kNumberLog: { |
+ VisitUnop(node, UseInfo::TruncatingFloat64(), |
+ MachineRepresentation::kFloat64); |
+ if (lower()) NodeProperties::ChangeOp(node, Float64Op(node)); |
+ return; |
+ } |
case IrOpcode::kNumberRound: { |
VisitUnop(node, UseInfo::TruncatingFloat64(), |
MachineRepresentation::kFloat64); |