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

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

Issue 2664143002: Revert "Debugging in kernel shaping up." (Closed)
Patch Set: Revert "Debugging in kernel shaping up." Created 3 years, 10 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.cc ('k') | runtime/vm/raw_object.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 390 matching lines...) Expand 10 before | Expand all | Expand 10 after
401 cls ^= table->At(guarded_cid()); 401 cls ^= table->At(guarded_cid());
402 jsobj.AddProperty("_guardClass", cls); 402 jsobj.AddProperty("_guardClass", cls);
403 } 403 }
404 if (guarded_list_length() == kUnknownFixedLength) { 404 if (guarded_list_length() == kUnknownFixedLength) {
405 jsobj.AddProperty("_guardLength", "unknown"); 405 jsobj.AddProperty("_guardLength", "unknown");
406 } else if (guarded_list_length() == kNoFixedLength) { 406 } else if (guarded_list_length() == kNoFixedLength) {
407 jsobj.AddProperty("_guardLength", "variable"); 407 jsobj.AddProperty("_guardLength", "variable");
408 } else { 408 } else {
409 jsobj.AddProperty("_guardLength", guarded_list_length()); 409 jsobj.AddProperty("_guardLength", guarded_list_length());
410 } 410 }
411 const class Script& script = Script::Handle(Script()); 411 const Class& origin_cls = Class::Handle(Origin());
412 const class Script& script = Script::Handle(origin_cls.script());
412 if (!script.IsNull()) { 413 if (!script.IsNull()) {
413 jsobj.AddLocation(script, token_pos()); 414 jsobj.AddLocation(script, token_pos());
414 } 415 }
415 } 416 }
416 417
417 418
418 void LiteralToken::PrintJSONImpl(JSONStream* stream, bool ref) const { 419 void LiteralToken::PrintJSONImpl(JSONStream* stream, bool ref) const {
419 Object::PrintJSONImpl(stream, ref); 420 Object::PrintJSONImpl(stream, ref);
420 } 421 }
421 422
(...skipping 1167 matching lines...) Expand 10 before | Expand all | Expand 10 after
1589 jsobj.AddProperty("mirrorReferent", referent_handle); 1590 jsobj.AddProperty("mirrorReferent", referent_handle);
1590 } 1591 }
1591 1592
1592 void UserTag::PrintJSONImpl(JSONStream* stream, bool ref) const { 1593 void UserTag::PrintJSONImpl(JSONStream* stream, bool ref) const {
1593 Instance::PrintJSONImpl(stream, ref); 1594 Instance::PrintJSONImpl(stream, ref);
1594 } 1595 }
1595 1596
1596 #endif 1597 #endif
1597 1598
1598 } // namespace dart 1599 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/object.cc ('k') | runtime/vm/raw_object.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698