Index: src/compiler/instruction-selector.cc |
diff --git a/src/compiler/instruction-selector.cc b/src/compiler/instruction-selector.cc |
index 274636d762cd8c6f4cbeb24d8b08ac3a705ebc79..7b9b8e1e1a2e1ef3c9a8e5c84038bf0d815c80d2 100644 |
--- a/src/compiler/instruction-selector.cc |
+++ b/src/compiler/instruction-selector.cc |
@@ -1142,6 +1142,10 @@ void InstructionSelector::VisitNode(Node* node) { |
return MarkAsFloat64(node), VisitFloat64Log(node); |
case IrOpcode::kFloat64Log1p: |
return MarkAsFloat64(node), VisitFloat64Log1p(node); |
+ case IrOpcode::kFloat64Log2: |
+ return MarkAsFloat64(node), VisitFloat64Log2(node); |
+ case IrOpcode::kFloat64Log10: |
+ return MarkAsFloat64(node), VisitFloat64Log10(node); |
case IrOpcode::kFloat64Sqrt: |
return MarkAsFloat64(node), VisitFloat64Sqrt(node); |
case IrOpcode::kFloat64Equal: |
@@ -1263,6 +1267,14 @@ void InstructionSelector::VisitFloat64Log1p(Node* node) { |
VisitFloat64Ieee754Unop(node, kIeee754Float64Log1p); |
} |
+void InstructionSelector::VisitFloat64Log2(Node* node) { |
+ VisitFloat64Ieee754Unop(node, kIeee754Float64Log2); |
+} |
+ |
+void InstructionSelector::VisitFloat64Log10(Node* node) { |
+ VisitFloat64Ieee754Unop(node, kIeee754Float64Log10); |
+} |
+ |
void InstructionSelector::EmitTableSwitch(const SwitchInfo& sw, |
InstructionOperand& index_operand) { |
OperandGenerator g(this); |