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 430 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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()) { | 450 if (with_checks()) { |
451 f->Print(" WITH CHECKS"); | 451 f->Print(" WITH-CHECKS"); |
| 452 } |
| 453 if (complete()) { |
| 454 f->Print(" COMPLETE"); |
452 } | 455 } |
453 } | 456 } |
454 | 457 |
455 | 458 |
456 void StrictCompareInstr::PrintOperandsTo(BufferFormatter* f) const { | 459 void StrictCompareInstr::PrintOperandsTo(BufferFormatter* f) const { |
457 f->Print("%s, ", Token::Str(kind())); | 460 f->Print("%s, ", Token::Str(kind())); |
458 left()->PrintTo(f); | 461 left()->PrintTo(f); |
459 f->Print(", "); | 462 f->Print(", "); |
460 right()->PrintTo(f); | 463 right()->PrintTo(f); |
461 if (needs_number_check()) { | 464 if (needs_number_check()) { |
(...skipping 803 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1265 } | 1268 } |
1266 | 1269 |
1267 | 1270 |
1268 bool FlowGraphPrinter::ShouldPrint(const Function& function) { | 1271 bool FlowGraphPrinter::ShouldPrint(const Function& function) { |
1269 return false; | 1272 return false; |
1270 } | 1273 } |
1271 | 1274 |
1272 #endif // !PRODUCT | 1275 #endif // !PRODUCT |
1273 | 1276 |
1274 } // namespace dart | 1277 } // namespace dart |
OLD | NEW |