Index: src/compiler/x87/instruction-selector-x87.cc |
diff --git a/src/compiler/x87/instruction-selector-x87.cc b/src/compiler/x87/instruction-selector-x87.cc |
index 2bb641fd725781dfb2d74cfea4a33a87b281fb09..e729b04461e2f2d0a15e88fcb5e018c8f0a6ef97 100644 |
--- a/src/compiler/x87/instruction-selector-x87.cc |
+++ b/src/compiler/x87/instruction-selector-x87.cc |
@@ -1009,13 +1009,6 @@ void InstructionSelector::VisitFloat64Abs(Node* node) { |
Emit(kX87Float64Abs, g.DefineAsFixed(node, stX_0), 0, nullptr); |
} |
-void InstructionSelector::VisitFloat64Log(Node* node) { |
- X87OperandGenerator g(this); |
- Emit(kX87PushFloat64, g.NoOutput(), g.Use(node->InputAt(0))); |
- Emit(kIeee754Float64Log, g.DefineAsFixed(node, stX_0), 0, nullptr) |
- ->MarkAsCall(); |
-} |
- |
void InstructionSelector::VisitFloat32Sqrt(Node* node) { |
X87OperandGenerator g(this); |
Emit(kX87PushFloat32, g.NoOutput(), g.Use(node->InputAt(0))); |
@@ -1094,6 +1087,13 @@ void InstructionSelector::VisitFloat32Neg(Node* node) { UNREACHABLE(); } |
void InstructionSelector::VisitFloat64Neg(Node* node) { UNREACHABLE(); } |
+void InstructionSelector::VisitFloat64Ieee754Unop(Node* node, |
+ InstructionCode opcode) { |
+ X87OperandGenerator g(this); |
+ Emit(kX87PushFloat64, g.NoOutput(), g.Use(node->InputAt(0))); |
+ Emit(opcode, g.DefineAsFixed(node, stX_0), 0, nullptr)->MarkAsCall(); |
+} |
+ |
void InstructionSelector::EmitPrepareArguments( |
ZoneVector<PushParameter>* arguments, const CallDescriptor* descriptor, |
Node* node) { |