Chromium Code Reviews| 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 852 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 863 if (!descriptors.IsNull()) { | 863 if (!descriptors.IsNull()) { |
| 864 JSONObject desc(&jsobj, "_descriptors"); | 864 JSONObject desc(&jsobj, "_descriptors"); |
| 865 descriptors.PrintToJSONObject(&desc, false); | 865 descriptors.PrintToJSONObject(&desc, false); |
| 866 } | 866 } |
| 867 | 867 |
| 868 PrintJSONInlineIntervals(&jsobj); | 868 PrintJSONInlineIntervals(&jsobj); |
| 869 } | 869 } |
| 870 | 870 |
| 871 | 871 |
| 872 void Code::SetAwaitTokenPositions(const Array& await_token_positions) const { | 872 void Code::SetAwaitTokenPositions(const Array& await_token_positions) const { |
| 873 #if !defined(DART_PRECOMPILED_RUNTIME) | |
| 873 StorePointer(&raw_ptr()->await_token_positions_, await_token_positions.raw()); | 874 StorePointer(&raw_ptr()->await_token_positions_, await_token_positions.raw()); |
| 875 #endif | |
|
rmacnak
2017/02/27 22:38:18
else UNREACHABLE
| |
| 874 } | 876 } |
| 875 | 877 |
| 876 | 878 |
| 877 void Context::PrintJSONImpl(JSONStream* stream, bool ref) const { | 879 void Context::PrintJSONImpl(JSONStream* stream, bool ref) const { |
| 878 JSONObject jsobj(stream); | 880 JSONObject jsobj(stream); |
| 879 // TODO(turnidge): Should the user level type for Context be Context | 881 // TODO(turnidge): Should the user level type for Context be Context |
| 880 // or Object? | 882 // or Object? |
| 881 AddCommonObjectProperties(&jsobj, "Context", ref); | 883 AddCommonObjectProperties(&jsobj, "Context", ref); |
| 882 jsobj.AddServiceId(*this); | 884 jsobj.AddServiceId(*this); |
| 883 | 885 |
| (...skipping 677 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1561 jsobj.AddProperty("mirrorReferent", referent_handle); | 1563 jsobj.AddProperty("mirrorReferent", referent_handle); |
| 1562 } | 1564 } |
| 1563 | 1565 |
| 1564 void UserTag::PrintJSONImpl(JSONStream* stream, bool ref) const { | 1566 void UserTag::PrintJSONImpl(JSONStream* stream, bool ref) const { |
| 1565 Instance::PrintJSONImpl(stream, ref); | 1567 Instance::PrintJSONImpl(stream, ref); |
| 1566 } | 1568 } |
| 1567 | 1569 |
| 1568 #endif | 1570 #endif |
| 1569 | 1571 |
| 1570 } // namespace dart | 1572 } // namespace dart |
| OLD | NEW |