Index: runtime/vm/il_printer.cc |
diff --git a/runtime/vm/il_printer.cc b/runtime/vm/il_printer.cc |
index d8d18f3bbfb1b69fd303d9fff5365b8157c83ba2..7a6874f71f620dd5d6f7bb9fce3945afb6cfdb7b 100644 |
--- a/runtime/vm/il_printer.cc |
+++ b/runtime/vm/il_printer.cc |
@@ -726,6 +726,21 @@ void BinaryDoubleOpInstr::PrintOperandsTo(BufferFormatter* f) const { |
} |
+void DoubleTestOpInstr::PrintOperandsTo(BufferFormatter* f) const { |
+ switch (op_kind()) { |
+ case MethodRecognizer::kDouble_getIsNaN: |
+ f->Print("IsNaN "); |
+ break; |
+ case MethodRecognizer::kDouble_getIsInfinite: |
+ f->Print("IsInfinite "); |
+ break; |
+ default: |
+ UNREACHABLE(); |
+ } |
+ value()->PrintTo(f); |
+} |
+ |
+ |
void BinaryFloat32x4OpInstr::PrintOperandsTo(BufferFormatter* f) const { |
f->Print("%s, ", Token::Str(op_kind())); |
left()->PrintTo(f); |