| Index: runtime/vm/json_stream.cc
|
| diff --git a/runtime/vm/json_stream.cc b/runtime/vm/json_stream.cc
|
| index 1c60d5bf4e11adce5052ece295262f1c68d0fa75..9fffcae4aa0818b587202c4e45024bd246f1ae51 100644
|
| --- a/runtime/vm/json_stream.cc
|
| +++ b/runtime/vm/json_stream.cc
|
| @@ -182,6 +182,12 @@ void JSONStream::PrintValue(intptr_t i) {
|
| }
|
|
|
|
|
| +void JSONStream::PrintValue64(int64_t i) {
|
| + PrintCommaIfNeeded();
|
| + buffer_.Printf("%" Pd64 "", i);
|
| +}
|
| +
|
| +
|
| void JSONStream::PrintValue(double d) {
|
| PrintCommaIfNeeded();
|
| buffer_.Printf("%f", d);
|
| @@ -239,6 +245,12 @@ void JSONStream::PrintProperty(const char* name, intptr_t i) {
|
| }
|
|
|
|
|
| +void JSONStream::PrintProperty64(const char* name, int64_t i) {
|
| + PrintPropertyName(name);
|
| + PrintValue64(i);
|
| +}
|
| +
|
| +
|
| void JSONStream::PrintProperty(const char* name, double d) {
|
| PrintPropertyName(name);
|
| PrintValue(d);
|
|
|