Index: src/compiler/arm64/instruction-selector-arm64.cc |
diff --git a/src/compiler/arm64/instruction-selector-arm64.cc b/src/compiler/arm64/instruction-selector-arm64.cc |
index 03e19cf0542279e8aa02b20b5fa53c17adf10df6..06dce93feebcfc46bb7fbf678018a2a64badfc0c 100644 |
--- a/src/compiler/arm64/instruction-selector-arm64.cc |
+++ b/src/compiler/arm64/instruction-selector-arm64.cc |
@@ -1720,6 +1720,13 @@ void InstructionSelector::VisitFloat64RoundTiesEven(Node* node) { |
VisitRR(this, kArm64Float64RoundTiesEven, node); |
} |
+void InstructionSelector::VisitFloat32Neg(Node* node) { |
+ VisitRR(this, kArm64Float32Neg, node); |
+} |
+ |
+void InstructionSelector::VisitFloat64Neg(Node* node) { |
+ VisitRR(this, kArm64Float64Neg, node); |
+} |
void InstructionSelector::EmitPrepareArguments( |
ZoneVector<PushParameter>* arguments, const CallDescriptor* descriptor, |
@@ -2414,7 +2421,9 @@ InstructionSelector::SupportedMachineOperatorFlags() { |
MachineOperatorBuilder::kInt32DivIsSafe | |
MachineOperatorBuilder::kUint32DivIsSafe | |
MachineOperatorBuilder::kWord32ReverseBits | |
- MachineOperatorBuilder::kWord64ReverseBits; |
+ MachineOperatorBuilder::kWord64ReverseBits | |
+ MachineOperatorBuilder::kFloat32Neg | |
+ MachineOperatorBuilder::kFloat64Neg; |
} |
// static |