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

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

Issue 2591823002: Introduce a SignatureData class so that signature functions can store both their (Closed)
Patch Set: address comments Created 4 years 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/parser.cc » ('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 1464 matching lines...) Expand 10 before | Expand all | Expand 10 after
1475 void SendPort::PrintJSONImpl(JSONStream* stream, bool ref) const { 1475 void SendPort::PrintJSONImpl(JSONStream* stream, bool ref) const {
1476 Instance::PrintJSONImpl(stream, ref); 1476 Instance::PrintJSONImpl(stream, ref);
1477 } 1477 }
1478 1478
1479 1479
1480 void ClosureData::PrintJSONImpl(JSONStream* stream, bool ref) const { 1480 void ClosureData::PrintJSONImpl(JSONStream* stream, bool ref) const {
1481 Object::PrintJSONImpl(stream, ref); 1481 Object::PrintJSONImpl(stream, ref);
1482 } 1482 }
1483 1483
1484 1484
1485 void SignatureData::PrintJSONImpl(JSONStream* stream, bool ref) const {
1486 Object::PrintJSONImpl(stream, ref);
1487 }
1488
1489
1485 void Closure::PrintJSONImpl(JSONStream* stream, bool ref) const { 1490 void Closure::PrintJSONImpl(JSONStream* stream, bool ref) const {
1486 Instance::PrintJSONImpl(stream, ref); 1491 Instance::PrintJSONImpl(stream, ref);
1487 } 1492 }
1488 1493
1489 1494
1490 void StackTrace::PrintJSONImpl(JSONStream* stream, bool ref) const { 1495 void StackTrace::PrintJSONImpl(JSONStream* stream, bool ref) const {
1491 JSONObject jsobj(stream); 1496 JSONObject jsobj(stream);
1492 PrintSharedInstanceJSON(&jsobj, ref); 1497 PrintSharedInstanceJSON(&jsobj, ref);
1493 jsobj.AddProperty("kind", "StackTrace"); 1498 jsobj.AddProperty("kind", "StackTrace");
1494 jsobj.AddServiceId(*this); 1499 jsobj.AddServiceId(*this);
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
1574 jsobj.AddProperty("mirrorReferent", referent_handle); 1579 jsobj.AddProperty("mirrorReferent", referent_handle);
1575 } 1580 }
1576 1581
1577 void UserTag::PrintJSONImpl(JSONStream* stream, bool ref) const { 1582 void UserTag::PrintJSONImpl(JSONStream* stream, bool ref) const {
1578 Instance::PrintJSONImpl(stream, ref); 1583 Instance::PrintJSONImpl(stream, ref);
1579 } 1584 }
1580 1585
1581 #endif 1586 #endif
1582 1587
1583 } // namespace dart 1588 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/object.cc ('k') | runtime/vm/parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698