| Index: runtime/vm/object.cc
|
| diff --git a/runtime/vm/object.cc b/runtime/vm/object.cc
|
| index 0de366fd2906a61d189a8fd2bd4fd05bc5006740..6255d2a840ec663eeec6b35534a7547db2bb5432 100644
|
| --- a/runtime/vm/object.cc
|
| +++ b/runtime/vm/object.cc
|
| @@ -11739,14 +11739,13 @@ void Code::PrintJSONImpl(JSONStream* stream, bool ref) const {
|
| EntryPoint());
|
| jsobj.AddPropertyF("start", "%" Px "", EntryPoint());
|
| jsobj.AddPropertyF("end", "%" Px "", EntryPoint() + Size());
|
| - jsobj.AddProperty("is_optimized", is_optimized());
|
| - jsobj.AddProperty("is_alive", is_alive());
|
| + jsobj.AddProperty("isOptimized", is_optimized());
|
| + jsobj.AddProperty("isAlive", is_alive());
|
| jsobj.AddProperty("kind", "Dart");
|
| const String& name = String::Handle(Name());
|
| const String& pretty_name = String::Handle(PrettyName());
|
| - const char* name_prefix = is_optimized() ? "*" : "";
|
| - jsobj.AddPropertyF("name", "%s%s", name_prefix, name.ToCString());
|
| - jsobj.AddPropertyF("user_name", "%s%s", name_prefix, pretty_name.ToCString());
|
| + jsobj.AddProperty("name", name.ToCString());
|
| + jsobj.AddProperty("user_name", pretty_name.ToCString());
|
| const Object& obj = Object::Handle(owner());
|
| if (obj.IsFunction()) {
|
| jsobj.AddProperty("function", obj);
|
|
|