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

Unified Diff: runtime/vm/object.cc

Issue 209093002: Make all objects print at least their type in PrintToJSONStream. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | runtime/vm/object_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/object.cc
===================================================================
--- runtime/vm/object.cc (revision 34271)
+++ runtime/vm/object.cc (working copy)
@@ -4005,7 +4005,7 @@
void UnresolvedClass::PrintToJSONStream(JSONStream* stream, bool ref) const {
- JSONObject jsobj(stream);
+ Object::PrintToJSONStream(stream, ref);
}
@@ -4715,7 +4715,7 @@
void PatchClass::PrintToJSONStream(JSONStream* stream, bool ref) const {
- JSONObject jsobj(stream);
+ Object::PrintToJSONStream(stream, ref);
}
@@ -6399,7 +6399,7 @@
void ClosureData::PrintToJSONStream(JSONStream* stream, bool ref) const {
- JSONObject jsobj(stream);
+ Object::PrintToJSONStream(stream, ref);
}
@@ -6434,7 +6434,7 @@
void RedirectionData::PrintToJSONStream(JSONStream* stream, bool ref) const {
- JSONObject jsobj(stream);
+ Object::PrintToJSONStream(stream, ref);
}
@@ -6906,7 +6906,7 @@
void LiteralToken::PrintToJSONStream(JSONStream* stream, bool ref) const {
- JSONObject jsobj(stream);
+ Object::PrintToJSONStream(stream, ref);
}
@@ -7351,7 +7351,7 @@
void TokenStream::PrintToJSONStream(JSONStream* stream, bool ref) const {
- JSONObject jsobj(stream);
+ Object::PrintToJSONStream(stream, ref);
}
@@ -9215,7 +9215,7 @@
void LibraryPrefix::PrintToJSONStream(JSONStream* stream, bool ref) const {
- JSONObject jsobj(stream);
+ Object::PrintToJSONStream(stream, ref);
}
@@ -9269,7 +9269,7 @@
void Namespace::PrintToJSONStream(JSONStream* stream, bool ref) const {
- JSONObject jsobj(stream);
+ Object::PrintToJSONStream(stream, ref);
}
@@ -9535,7 +9535,7 @@
void Instructions::PrintToJSONStream(JSONStream* stream, bool ref) const {
- JSONObject jsobj(stream);
+ Object::PrintToJSONStream(stream, ref);
}
@@ -9689,7 +9689,7 @@
void PcDescriptors::PrintToJSONStream(JSONStream* stream, bool ref) const {
- JSONObject jsobj(stream);
+ Object::PrintToJSONStream(stream, ref);
}
@@ -9844,7 +9844,7 @@
void Stackmap::PrintToJSONStream(JSONStream* stream, bool ref) const {
- JSONObject jsobj(stream);
+ Object::PrintToJSONStream(stream, ref);
}
@@ -9914,7 +9914,7 @@
void LocalVarDescriptors::PrintToJSONStream(JSONStream* stream,
bool ref) const {
- JSONObject jsobj(stream);
+ Object::PrintToJSONStream(stream, ref);
}
@@ -10098,7 +10098,7 @@
void ExceptionHandlers::PrintToJSONStream(JSONStream* stream,
bool ref) const {
- JSONObject jsobj(stream);
+ Object::PrintToJSONStream(stream, ref);
}
@@ -10215,7 +10215,7 @@
void DeoptInfo::PrintToJSONStream(JSONStream* stream, bool ref) const {
- JSONObject jsobj(stream);
+ Object::PrintToJSONStream(stream, ref);
}
@@ -10913,7 +10913,7 @@
void Context::PrintToJSONStream(JSONStream* stream, bool ref) const {
- JSONObject jsobj(stream);
+ Object::PrintToJSONStream(stream, ref);
}
@@ -11032,7 +11032,7 @@
void ContextScope::PrintToJSONStream(JSONStream* stream, bool ref) const {
- JSONObject jsobj(stream);
+ Object::PrintToJSONStream(stream, ref);
}
@@ -11506,7 +11506,7 @@
void ICData::PrintToJSONStream(JSONStream* stream, bool ref) const {
- JSONObject jsobj(stream);
+ Object::PrintToJSONStream(stream, ref);
}
@@ -11622,7 +11622,7 @@
void MegamorphicCache::PrintToJSONStream(JSONStream* stream, bool ref) const {
- JSONObject jsobj(stream);
+ Object::PrintToJSONStream(stream, ref);
}
@@ -11698,7 +11698,7 @@
void SubtypeTestCache::PrintToJSONStream(JSONStream* stream, bool ref) const {
- JSONObject jsobj(stream);
+ Object::PrintToJSONStream(stream, ref);
}
« no previous file with comments | « no previous file | runtime/vm/object_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698