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 420 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
830 if ((locations_ != NULL) && !locations_[i].IsInvalid()) { | 838 if ((locations_ != NULL) && !locations_[i].IsInvalid()) { |
831 f->Print(" ["); | 839 f->Print(" ["); |
832 locations_[i].PrintTo(f); | 840 locations_[i].PrintTo(f); |
833 f->Print("]"); | 841 f->Print("]"); |
834 } | 842 } |
835 } | 843 } |
836 f->Print(" }"); | 844 f->Print(" }"); |
837 } | 845 } |
838 | 846 |
839 } // namespace dart | 847 } // namespace dart |
OLD | NEW |