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/object.h" | 5 #include "vm/object.h" |
6 | 6 |
7 #include "include/dart_api.h" | 7 #include "include/dart_api.h" |
8 #include "platform/assert.h" | 8 #include "platform/assert.h" |
9 #include "vm/assembler.h" | 9 #include "vm/assembler.h" |
10 #include "vm/cpu.h" | 10 #include "vm/cpu.h" |
(...skipping 11080 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11091 if (InfoAt(i) == kTaggedObject) { | 11091 if (InfoAt(i) == kTaggedObject) { |
11092 RawObject* obj = ObjectAt(i); | 11092 RawObject* obj = ObjectAt(i); |
11093 THR_Print("0x%" Px " %s (obj)\n", | 11093 THR_Print("0x%" Px " %s (obj)\n", |
11094 reinterpret_cast<uword>(obj), | 11094 reinterpret_cast<uword>(obj), |
11095 Object::Handle(obj).ToCString()); | 11095 Object::Handle(obj).ToCString()); |
11096 } else if (InfoAt(i) == kExternalLabel) { | 11096 } else if (InfoAt(i) == kExternalLabel) { |
11097 uword addr = RawValueAt(i); | 11097 uword addr = RawValueAt(i); |
11098 THR_Print("0x%" Px " (external label: %s)\n", | 11098 THR_Print("0x%" Px " (external label: %s)\n", |
11099 addr, DescribeExternalLabel(addr)); | 11099 addr, DescribeExternalLabel(addr)); |
11100 } else if (InfoAt(i) == kNativeEntry) { | 11100 } else if (InfoAt(i) == kNativeEntry) { |
11101 ISL_Print("0x%" Px " (native entry)\n", RawValueAt(i)); | 11101 THR_Print("0x%" Px " (native entry)\n", RawValueAt(i)); |
11102 } else { | 11102 } else { |
11103 THR_Print("0x%" Px " (raw)\n", RawValueAt(i)); | 11103 THR_Print("0x%" Px " (raw)\n", RawValueAt(i)); |
11104 } | 11104 } |
11105 } | 11105 } |
11106 THR_Print("}\n"); | 11106 THR_Print("}\n"); |
11107 } | 11107 } |
11108 | 11108 |
11109 | 11109 |
11110 intptr_t PcDescriptors::Length() const { | 11110 intptr_t PcDescriptors::Length() const { |
11111 return raw_ptr()->length_; | 11111 return raw_ptr()->length_; |
(...skipping 10435 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
21547 return tag_label.ToCString(); | 21547 return tag_label.ToCString(); |
21548 } | 21548 } |
21549 | 21549 |
21550 | 21550 |
21551 void UserTag::PrintJSONImpl(JSONStream* stream, bool ref) const { | 21551 void UserTag::PrintJSONImpl(JSONStream* stream, bool ref) const { |
21552 Instance::PrintJSONImpl(stream, ref); | 21552 Instance::PrintJSONImpl(stream, ref); |
21553 } | 21553 } |
21554 | 21554 |
21555 | 21555 |
21556 } // namespace dart | 21556 } // namespace dart |
OLD | NEW |