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

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

Issue 1952903002: - Fix loading of dart:html. - Remove debug print in VM service. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 7 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/bin/builtin_nolib.cc ('k') | no next file » | 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 1020 matching lines...) Expand 10 before | Expand all | Expand 10 after
1031 bool ref) const { 1031 bool ref) const {
1032 AddCommonObjectProperties(jsobj, "Instance", ref); 1032 AddCommonObjectProperties(jsobj, "Instance", ref);
1033 if (ref) { 1033 if (ref) {
1034 return; 1034 return;
1035 } 1035 }
1036 1036
1037 // Add all fields in layout order, from superclass to subclass. 1037 // Add all fields in layout order, from superclass to subclass.
1038 GrowableArray<Class*> classes; 1038 GrowableArray<Class*> classes;
1039 Class& cls = Class::Handle(this->clazz()); 1039 Class& cls = Class::Handle(this->clazz());
1040 do { 1040 do {
1041 cls.Print();
1042 classes.Add(&Class::Handle(cls.raw())); 1041 classes.Add(&Class::Handle(cls.raw()));
1043 cls = cls.SuperClass(); 1042 cls = cls.SuperClass();
1044 } while (!cls.IsNull()); 1043 } while (!cls.IsNull());
1045 1044
1046 Array& field_array = Array::Handle(); 1045 Array& field_array = Array::Handle();
1047 Field& field = Field::Handle(); 1046 Field& field = Field::Handle();
1048 Instance& field_value = Instance::Handle(); 1047 Instance& field_value = Instance::Handle();
1049 { 1048 {
1050 JSONArray jsarr(jsobj, "fields"); 1049 JSONArray jsarr(jsobj, "fields");
1051 for (intptr_t i = classes.length() - 1; i >= 0; i--) { 1050 for (intptr_t i = classes.length() - 1; i >= 0; i--) {
(...skipping 536 matching lines...) Expand 10 before | Expand all | Expand 10 after
1588 jsobj.AddProperty("mirrorReferent", referent_handle); 1587 jsobj.AddProperty("mirrorReferent", referent_handle);
1589 } 1588 }
1590 1589
1591 void UserTag::PrintJSONImpl(JSONStream* stream, bool ref) const { 1590 void UserTag::PrintJSONImpl(JSONStream* stream, bool ref) const {
1592 Instance::PrintJSONImpl(stream, ref); 1591 Instance::PrintJSONImpl(stream, ref);
1593 } 1592 }
1594 1593
1595 #endif 1594 #endif
1596 1595
1597 } // namespace dart 1596 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/bin/builtin_nolib.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698