Index: src/compiler/mips/instruction-selector-mips.cc |
diff --git a/src/compiler/mips/instruction-selector-mips.cc b/src/compiler/mips/instruction-selector-mips.cc |
index 36617a992ea035cb9729bd178c6ce1f31b410a00..f0e2dc2e8fb76d63b5a18f76a88032c09414f55c 100644 |
--- a/src/compiler/mips/instruction-selector-mips.cc |
+++ b/src/compiler/mips/instruction-selector-mips.cc |
@@ -1471,6 +1471,14 @@ void InstructionSelector::VisitFloat64InsertHighWord32(Node* node) { |
g.UseRegister(left), g.UseRegister(right)); |
} |
+void InstructionSelector::VisitFloat64SilenceNaN(Node* node) { |
+ MipsOperandGenerator g(this); |
+ Node* left = node->InputAt(0); |
+ InstructionOperand temps[] = {g.TempRegister()}; |
+ Emit(kMipsFloat64SilenceNaN, g.DefineSameAsFirst(node), g.UseRegister(left), |
+ arraysize(temps), temps); |
+} |
+ |
void InstructionSelector::VisitAtomicLoad(Node* node) { |
LoadRepresentation load_rep = LoadRepresentationOf(node->op()); |
MipsOperandGenerator g(this); |