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 379 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
390 | 390 |
391 | 391 |
392 void BinaryMintOpComp::PrintOperandsTo(BufferFormatter* f) const { | 392 void BinaryMintOpComp::PrintOperandsTo(BufferFormatter* f) const { |
393 f->Print("%s, ", Token::Str(op_kind())); | 393 f->Print("%s, ", Token::Str(op_kind())); |
394 left()->PrintTo(f); | 394 left()->PrintTo(f); |
395 f->Print(", "); | 395 f->Print(", "); |
396 right()->PrintTo(f); | 396 right()->PrintTo(f); |
397 } | 397 } |
398 | 398 |
399 | 399 |
| 400 void UnboxedDoubleBinaryOpComp::PrintOperandsTo(BufferFormatter* f) const { |
| 401 f->Print("%s, ", Token::Str(op_kind())); |
| 402 left()->PrintTo(f); |
| 403 f->Print(", "); |
| 404 right()->PrintTo(f); |
| 405 } |
| 406 |
| 407 |
400 void BinaryDoubleOpComp::PrintOperandsTo(BufferFormatter* f) const { | 408 void BinaryDoubleOpComp::PrintOperandsTo(BufferFormatter* f) const { |
401 f->Print("%s", Token::Str(op_kind())); | 409 f->Print("%s", Token::Str(op_kind())); |
402 } | 410 } |
403 | 411 |
404 | 412 |
405 void UnarySmiOpComp::PrintOperandsTo(BufferFormatter* f) const { | 413 void UnarySmiOpComp::PrintOperandsTo(BufferFormatter* f) const { |
406 f->Print("%s, ", Token::Str(op_kind())); | 414 f->Print("%s, ", Token::Str(op_kind())); |
407 value()->PrintTo(f); | 415 value()->PrintTo(f); |
408 } | 416 } |
409 | 417 |
(...skipping 410 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
820 if ((locations_ != NULL) && !locations_[i].IsInvalid()) { | 828 if ((locations_ != NULL) && !locations_[i].IsInvalid()) { |
821 f->Print(" ["); | 829 f->Print(" ["); |
822 locations_[i].PrintTo(f); | 830 locations_[i].PrintTo(f); |
823 f->Print("]"); | 831 f->Print("]"); |
824 } | 832 } |
825 } | 833 } |
826 f->Print(" }"); | 834 f->Print(" }"); |
827 } | 835 } |
828 | 836 |
829 } // namespace dart | 837 } // namespace dart |
OLD | NEW |