| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 #include "vm/il_printer.h" | 5 #include "vm/il_printer.h" |
| 6 | 6 |
| 7 #include "vm/intermediate_language.h" | 7 #include "vm/intermediate_language.h" |
| 8 #include "vm/os.h" | 8 #include "vm/os.h" |
| 9 #include "vm/parser.h" | 9 #include "vm/parser.h" |
| 10 | 10 |
| (...skipping 775 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 786 | 786 |
| 787 void UnarySmiOpInstr::PrintOperandsTo(BufferFormatter* f) const { | 787 void UnarySmiOpInstr::PrintOperandsTo(BufferFormatter* f) const { |
| 788 f->Print("%s, ", Token::Str(op_kind())); | 788 f->Print("%s, ", Token::Str(op_kind())); |
| 789 value()->PrintTo(f); | 789 value()->PrintTo(f); |
| 790 } | 790 } |
| 791 | 791 |
| 792 | 792 |
| 793 void CheckClassInstr::PrintOperandsTo(BufferFormatter* f) const { | 793 void CheckClassInstr::PrintOperandsTo(BufferFormatter* f) const { |
| 794 value()->PrintTo(f); | 794 value()->PrintTo(f); |
| 795 PrintICData(f, unary_checks()); | 795 PrintICData(f, unary_checks()); |
| 796 if (null_check()) { | 796 if (IsNullCheck()) { |
| 797 f->Print(" nullcheck"); | 797 f->Print(" nullcheck"); |
| 798 } | 798 } |
| 799 } | 799 } |
| 800 | 800 |
| 801 | 801 |
| 802 void InvokeMathCFunctionInstr::PrintOperandsTo(BufferFormatter* f) const { | 802 void InvokeMathCFunctionInstr::PrintOperandsTo(BufferFormatter* f) const { |
| 803 f->Print("%s, ", MethodRecognizer::KindToCString(recognized_kind_)); | 803 f->Print("%s, ", MethodRecognizer::KindToCString(recognized_kind_)); |
| 804 Definition::PrintOperandsTo(f); | 804 Definition::PrintOperandsTo(f); |
| 805 } | 805 } |
| 806 | 806 |
| (...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 970 f->Print(" ["); | 970 f->Print(" ["); |
| 971 locations_[i].PrintTo(f); | 971 locations_[i].PrintTo(f); |
| 972 f->Print("]"); | 972 f->Print("]"); |
| 973 } | 973 } |
| 974 } | 974 } |
| 975 f->Print(" }"); | 975 f->Print(" }"); |
| 976 if (outer_ != NULL) outer_->PrintTo(f); | 976 if (outer_ != NULL) outer_->PrintTo(f); |
| 977 } | 977 } |
| 978 | 978 |
| 979 } // namespace dart | 979 } // namespace dart |
| OLD | NEW |