| 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 731 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 742 } | 742 } |
| 743 } | 743 } |
| 744 | 744 |
| 745 | 745 |
| 746 void ExceptionHandlers::PrintJSONImpl(JSONStream* stream, | 746 void ExceptionHandlers::PrintJSONImpl(JSONStream* stream, |
| 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 { |
| 753 Object::PrintJSONImpl(stream, ref); |
| 754 } |
| 755 |
| 756 |
| 752 void ICData::PrintJSONImpl(JSONStream* stream, bool ref) const { | 757 void ICData::PrintJSONImpl(JSONStream* stream, bool ref) const { |
| 753 JSONObject jsobj(stream); | 758 JSONObject jsobj(stream); |
| 754 AddCommonObjectProperties(&jsobj, "Object", ref); | 759 AddCommonObjectProperties(&jsobj, "Object", ref); |
| 755 jsobj.AddServiceId(*this); | 760 jsobj.AddServiceId(*this); |
| 756 jsobj.AddProperty("_owner", Object::Handle(Owner())); | 761 jsobj.AddProperty("_owner", Object::Handle(Owner())); |
| 757 jsobj.AddProperty("_selector", String::Handle(target_name()).ToCString()); | 762 jsobj.AddProperty("_selector", String::Handle(target_name()).ToCString()); |
| 758 if (ref) { | 763 if (ref) { |
| 759 return; | 764 return; |
| 760 } | 765 } |
| 761 jsobj.AddProperty("_argumentsDescriptor", | 766 jsobj.AddProperty("_argumentsDescriptor", |
| (...skipping 835 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1597 jsobj.AddProperty("mirrorReferent", referent_handle); | 1602 jsobj.AddProperty("mirrorReferent", referent_handle); |
| 1598 } | 1603 } |
| 1599 | 1604 |
| 1600 void UserTag::PrintJSONImpl(JSONStream* stream, bool ref) const { | 1605 void UserTag::PrintJSONImpl(JSONStream* stream, bool ref) const { |
| 1601 Instance::PrintJSONImpl(stream, ref); | 1606 Instance::PrintJSONImpl(stream, ref); |
| 1602 } | 1607 } |
| 1603 | 1608 |
| 1604 #endif | 1609 #endif |
| 1605 | 1610 |
| 1606 } // namespace dart | 1611 } // namespace dart |
| OLD | NEW |