| Index: runtime/vm/object.cc
|
| diff --git a/runtime/vm/object.cc b/runtime/vm/object.cc
|
| index 5851501f154ee182bad4c86f33f87ba0e3f0f9b9..72572c1f73327d5410bdca0025597956eac834dc 100644
|
| --- a/runtime/vm/object.cc
|
| +++ b/runtime/vm/object.cc
|
| @@ -7272,6 +7272,8 @@ void Function::PrintJSONImpl(JSONStream* stream, bool ref) const {
|
| jsobj.AddProperty("_kind", kind_string);
|
| jsobj.AddProperty("static", is_static());
|
| jsobj.AddProperty("const", is_const());
|
| + jsobj.AddProperty("_intrinsic", is_intrinsic());
|
| + jsobj.AddProperty("_native", is_native());
|
| if (ref) {
|
| return;
|
| }
|
| @@ -7285,6 +7287,7 @@ void Function::PrintJSONImpl(JSONStream* stream, bool ref) const {
|
| }
|
| jsobj.AddProperty("_optimizable", is_optimizable());
|
| jsobj.AddProperty("_inlinable", is_inlinable());
|
| + jsobj.AddProperty("_recognized", IsRecognized());
|
| code = unoptimized_code();
|
| if (!code.IsNull()) {
|
| jsobj.AddProperty("_unoptimizedCode", code);
|
| @@ -13587,10 +13590,18 @@ void Code::PrintJSONImpl(JSONStream* stream, bool ref) const {
|
| jsobj.AddProperty("kind", "Dart");
|
| }
|
| jsobj.AddProperty("_optimized", is_optimized());
|
| + const Object& obj = Object::Handle(owner());
|
| + if (obj.IsFunction()) {
|
| + const Function& func = Function::Cast(obj);
|
| + jsobj.AddProperty("_intrinsic", func.is_intrinsic());
|
| + jsobj.AddProperty("_native", func.is_native());
|
| + } else {
|
| + jsobj.AddProperty("_intrinsic", false);
|
| + jsobj.AddProperty("_native", false);
|
| + }
|
| if (ref) {
|
| return;
|
| }
|
| - const Object& obj = Object::Handle(owner());
|
| if (obj.IsFunction()) {
|
| jsobj.AddProperty("function", obj);
|
| } else {
|
|
|