Index: runtime/vm/json_stream.h |
diff --git a/runtime/vm/json_stream.h b/runtime/vm/json_stream.h |
index 50a9e2362b603b511d7d8eab68c9b9612394cab6..6b71a9d7e56ea0b91b44a2a4d24891c966419e61 100644 |
--- a/runtime/vm/json_stream.h |
+++ b/runtime/vm/json_stream.h |
@@ -78,6 +78,7 @@ class JSONStream : ValueObject { |
void PrintfValue(const char* format, ...) PRINTF_ATTRIBUTE(2, 3); |
void PrintValue(const Object& o, bool ref = true); |
void PrintValue(SourceBreakpoint* bpt); |
+ void PrintValue(Isolate* isolate, bool ref = true); |
void PrintPropertyBool(const char* name, bool b); |
void PrintProperty(const char* name, intptr_t i); |
@@ -180,6 +181,9 @@ class JSONArray : public ValueObject { |
void AddValue(const Object& obj, bool ref = true) const { |
stream_->PrintValue(obj, ref); |
} |
+ void AddValue(Isolate* isolate, bool ref = true) const { |
+ stream_->PrintValue(isolate, ref); |
+ } |
void AddValue(SourceBreakpoint* bpt) const { |
stream_->PrintValue(bpt); |
} |