| 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/flow_graph_range_analysis.h" | 7 #include "vm/flow_graph_range_analysis.h" |
| 8 #include "vm/intermediate_language.h" | 8 #include "vm/intermediate_language.h" |
| 9 #include "vm/os.h" | 9 #include "vm/os.h" |
| 10 #include "vm/parser.h" | 10 #include "vm/parser.h" |
| (...skipping 429 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 440 } | 440 } |
| 441 | 441 |
| 442 | 442 |
| 443 void PolymorphicInstanceCallInstr::PrintOperandsTo(BufferFormatter* f) const { | 443 void PolymorphicInstanceCallInstr::PrintOperandsTo(BufferFormatter* f) const { |
| 444 f->Print(" %s", instance_call()->function_name().ToCString()); | 444 f->Print(" %s", instance_call()->function_name().ToCString()); |
| 445 for (intptr_t i = 0; i < ArgumentCount(); ++i) { | 445 for (intptr_t i = 0; i < ArgumentCount(); ++i) { |
| 446 f->Print(", "); | 446 f->Print(", "); |
| 447 PushArgumentAt(i)->value()->PrintTo(f); | 447 PushArgumentAt(i)->value()->PrintTo(f); |
| 448 } | 448 } |
| 449 PrintICDataHelper(f, ic_data()); | 449 PrintICDataHelper(f, ic_data()); |
| 450 if (with_checks()) { | |
| 451 f->Print(" WITH CHECKS"); | |
| 452 } | |
| 453 } | 450 } |
| 454 | 451 |
| 455 | 452 |
| 456 void StrictCompareInstr::PrintOperandsTo(BufferFormatter* f) const { | 453 void StrictCompareInstr::PrintOperandsTo(BufferFormatter* f) const { |
| 457 f->Print("%s, ", Token::Str(kind())); | 454 f->Print("%s, ", Token::Str(kind())); |
| 458 left()->PrintTo(f); | 455 left()->PrintTo(f); |
| 459 f->Print(", "); | 456 f->Print(", "); |
| 460 right()->PrintTo(f); | 457 right()->PrintTo(f); |
| 461 if (needs_number_check()) { | 458 if (needs_number_check()) { |
| 462 f->Print(", with number check"); | 459 f->Print(", with number check"); |
| (...skipping 793 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1256 } | 1253 } |
| 1257 | 1254 |
| 1258 | 1255 |
| 1259 bool FlowGraphPrinter::ShouldPrint(const Function& function) { | 1256 bool FlowGraphPrinter::ShouldPrint(const Function& function) { |
| 1260 return false; | 1257 return false; |
| 1261 } | 1258 } |
| 1262 | 1259 |
| 1263 #endif // !PRODUCT | 1260 #endif // !PRODUCT |
| 1264 | 1261 |
| 1265 } // namespace dart | 1262 } // namespace dart |
| OLD | NEW |