| OLD | NEW |
| 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, 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/debugger.h" | 5 #include "vm/debugger.h" |
| 6 #include "vm/disassembler.h" | 6 #include "vm/disassembler.h" |
| 7 #include "vm/object.h" | 7 #include "vm/object.h" |
| 8 #include "vm/object_store.h" | 8 #include "vm/object_store.h" |
| 9 #include "vm/stub_code.h" | 9 #include "vm/stub_code.h" |
| 10 #include "vm/symbols.h" | 10 #include "vm/symbols.h" |
| (...skipping 736 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 747 bool ref) const { | 747 bool ref) const { |
| 748 Object::PrintJSONImpl(stream, ref); | 748 Object::PrintJSONImpl(stream, ref); |
| 749 } | 749 } |
| 750 | 750 |
| 751 | 751 |
| 752 void SingleTargetCache::PrintJSONImpl(JSONStream* stream, bool ref) const { | 752 void SingleTargetCache::PrintJSONImpl(JSONStream* stream, bool ref) const { |
| 753 Object::PrintJSONImpl(stream, ref); | 753 Object::PrintJSONImpl(stream, ref); |
| 754 } | 754 } |
| 755 | 755 |
| 756 | 756 |
| 757 void UnlinkedCall::PrintJSONImpl(JSONStream* stream, bool ref) const { |
| 758 Object::PrintJSONImpl(stream, ref); |
| 759 } |
| 760 |
| 761 |
| 757 void ICData::PrintJSONImpl(JSONStream* stream, bool ref) const { | 762 void ICData::PrintJSONImpl(JSONStream* stream, bool ref) const { |
| 758 JSONObject jsobj(stream); | 763 JSONObject jsobj(stream); |
| 759 AddCommonObjectProperties(&jsobj, "Object", ref); | 764 AddCommonObjectProperties(&jsobj, "Object", ref); |
| 760 jsobj.AddServiceId(*this); | 765 jsobj.AddServiceId(*this); |
| 761 jsobj.AddProperty("_owner", Object::Handle(Owner())); | 766 jsobj.AddProperty("_owner", Object::Handle(Owner())); |
| 762 jsobj.AddProperty("_selector", String::Handle(target_name()).ToCString()); | 767 jsobj.AddProperty("_selector", String::Handle(target_name()).ToCString()); |
| 763 if (ref) { | 768 if (ref) { |
| 764 return; | 769 return; |
| 765 } | 770 } |
| 766 jsobj.AddProperty("_argumentsDescriptor", | 771 jsobj.AddProperty("_argumentsDescriptor", |
| (...skipping 798 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1565 jsobj.AddProperty("mirrorReferent", referent_handle); | 1570 jsobj.AddProperty("mirrorReferent", referent_handle); |
| 1566 } | 1571 } |
| 1567 | 1572 |
| 1568 void UserTag::PrintJSONImpl(JSONStream* stream, bool ref) const { | 1573 void UserTag::PrintJSONImpl(JSONStream* stream, bool ref) const { |
| 1569 Instance::PrintJSONImpl(stream, ref); | 1574 Instance::PrintJSONImpl(stream, ref); |
| 1570 } | 1575 } |
| 1571 | 1576 |
| 1572 #endif | 1577 #endif |
| 1573 | 1578 |
| 1574 } // namespace dart | 1579 } // namespace dart |
| OLD | NEW |