diff --git a/src/compiler/x87/instruction-selector-x87.cc b/src/compiler/x87/instruction-selector-x87.cc index ec91b5a25a..5318c899c8 100644 --- a/src/compiler/x87/instruction-selector-x87.cc +++ b/src/compiler/x87/instruction-selector-x87.cc @@ -917,13 +917,6 @@ void InstructionSelector::VisitFloat32Sub(Node* node) { Emit(kX87Float32Sub, g.DefineAsFixed(node, stX_0), 0, nullptr); } -void InstructionSelector::VisitFloat32SubPreserveNan(Node* node) { - X87OperandGenerator g(this); - Emit(kX87PushFloat32, g.NoOutput(), g.Use(node->InputAt(0))); - Emit(kX87PushFloat32, g.NoOutput(), g.Use(node->InputAt(1))); - Emit(kX87Float32Sub, g.DefineAsFixed(node, stX_0), 0, nullptr); -} - void InstructionSelector::VisitFloat64Sub(Node* node) { X87OperandGenerator g(this); Emit(kX87PushFloat64, g.NoOutput(), g.Use(node->InputAt(0))); @@ -931,14 +924,6 @@ void InstructionSelector::VisitFloat64Sub(Node* node) { Emit(kX87Float64Sub, g.DefineAsFixed(node, stX_0), 0, nullptr); } -void InstructionSelector::VisitFloat64SubPreserveNan(Node* node) { - X87OperandGenerator g(this); - Emit(kX87PushFloat64, g.NoOutput(), g.Use(node->InputAt(0))); - Emit(kX87PushFloat64, g.NoOutput(), g.Use(node->InputAt(1))); - Emit(kX87Float64Sub, g.DefineAsFixed(node, stX_0), 0, nullptr); -} - - void InstructionSelector::VisitFloat32Mul(Node* node) { X87OperandGenerator g(this); Emit(kX87PushFloat32, g.NoOutput(), g.Use(node->InputAt(0)));