Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(938)

Side by Side Diff: runtime/vm/object_service.cc

Issue 2815533003: Refactor AOT deduplication steps so they can run before an app-jit snapshot as well. (Closed)
Patch Set: . Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « runtime/vm/object.h ('k') | runtime/vm/precompiler.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « runtime/vm/object.h ('k') | runtime/vm/precompiler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698