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 865 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
876 const PcDescriptors& descriptors = PcDescriptors::Handle(pc_descriptors()); | 876 const PcDescriptors& descriptors = PcDescriptors::Handle(pc_descriptors()); |
877 if (!descriptors.IsNull()) { | 877 if (!descriptors.IsNull()) { |
878 JSONObject desc(&jsobj, "_descriptors"); | 878 JSONObject desc(&jsobj, "_descriptors"); |
879 descriptors.PrintToJSONObject(&desc, false); | 879 descriptors.PrintToJSONObject(&desc, false); |
880 } | 880 } |
881 | 881 |
882 PrintJSONInlineIntervals(&jsobj); | 882 PrintJSONInlineIntervals(&jsobj); |
883 } | 883 } |
884 | 884 |
885 | 885 |
886 void Code::SetAwaitTokenPositions(const Array& await_token_positions) const { | 886 void Code::set_await_token_positions(const Array& await_token_positions) const { |
887 #if !defined(DART_PRECOMPILED_RUNTIME) | 887 #if !defined(DART_PRECOMPILED_RUNTIME) |
888 StorePointer(&raw_ptr()->await_token_positions_, await_token_positions.raw()); | 888 StorePointer(&raw_ptr()->await_token_positions_, await_token_positions.raw()); |
889 #endif | 889 #endif |
890 } | 890 } |
891 | 891 |
892 | 892 |
893 void Context::PrintJSONImpl(JSONStream* stream, bool ref) const { | 893 void Context::PrintJSONImpl(JSONStream* stream, bool ref) const { |
894 JSONObject jsobj(stream); | 894 JSONObject jsobj(stream); |
895 // TODO(turnidge): Should the user level type for Context be Context | 895 // TODO(turnidge): Should the user level type for Context be Context |
896 // or Object? | 896 // or Object? |
(...skipping 684 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1581 jsobj.AddProperty("mirrorReferent", referent_handle); | 1581 jsobj.AddProperty("mirrorReferent", referent_handle); |
1582 } | 1582 } |
1583 | 1583 |
1584 void UserTag::PrintJSONImpl(JSONStream* stream, bool ref) const { | 1584 void UserTag::PrintJSONImpl(JSONStream* stream, bool ref) const { |
1585 Instance::PrintJSONImpl(stream, ref); | 1585 Instance::PrintJSONImpl(stream, ref); |
1586 } | 1586 } |
1587 | 1587 |
1588 #endif | 1588 #endif |
1589 | 1589 |
1590 } // namespace dart | 1590 } // namespace dart |
OLD | NEW |