| 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 599 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 610 } | 610 } |
| 611 | 611 |
| 612 | 612 |
| 613 void Float32x4ShuffleInstr::PrintOperandsTo(BufferFormatter* f) const { | 613 void Float32x4ShuffleInstr::PrintOperandsTo(BufferFormatter* f) const { |
| 614 // TODO(johnmccutchan): Add proper string enumeration of shuffle. | 614 // TODO(johnmccutchan): Add proper string enumeration of shuffle. |
| 615 f->Print("SHUFFLE "); | 615 f->Print("SHUFFLE "); |
| 616 value()->PrintTo(f); | 616 value()->PrintTo(f); |
| 617 } | 617 } |
| 618 | 618 |
| 619 | 619 |
| 620 void Simd32x4GetSignMaskInstr::PrintOperandsTo(BufferFormatter* f) const { |
| 621 if (op_kind() == MethodRecognizer::kFloat32x4GetSignMask) { |
| 622 f->Print("Float32x4.getSignMask "); |
| 623 } else { |
| 624 ASSERT(op_kind() == MethodRecognizer::kUint32x4GetSignMask); |
| 625 f->Print("Uint32x4.getSignMask "); |
| 626 } |
| 627 value()->PrintTo(f); |
| 628 } |
| 629 |
| 630 |
| 620 void Float32x4ZeroInstr::PrintOperandsTo(BufferFormatter* f) const { | 631 void Float32x4ZeroInstr::PrintOperandsTo(BufferFormatter* f) const { |
| 621 f->Print("ZERO "); | 632 f->Print("ZERO "); |
| 622 } | 633 } |
| 623 | 634 |
| 624 | 635 |
| 625 void Float32x4SplatInstr::PrintOperandsTo(BufferFormatter* f) const { | 636 void Float32x4SplatInstr::PrintOperandsTo(BufferFormatter* f) const { |
| 626 f->Print("SPLAT "); | 637 f->Print("SPLAT "); |
| 627 value()->PrintTo(f); | 638 value()->PrintTo(f); |
| 628 } | 639 } |
| 629 | 640 |
| (...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 970 f->Print(" ["); | 981 f->Print(" ["); |
| 971 locations_[i].PrintTo(f); | 982 locations_[i].PrintTo(f); |
| 972 f->Print("]"); | 983 f->Print("]"); |
| 973 } | 984 } |
| 974 } | 985 } |
| 975 f->Print(" }"); | 986 f->Print(" }"); |
| 976 if (outer_ != NULL) outer_->PrintTo(f); | 987 if (outer_ != NULL) outer_->PrintTo(f); |
| 977 } | 988 } |
| 978 | 989 |
| 979 } // namespace dart | 990 } // namespace dart |
| OLD | NEW |