Index: runtime/vm/object_service.cc |
diff --git a/runtime/vm/object_service.cc b/runtime/vm/object_service.cc |
index ca83ef1a870fc7095d73b6e202df177071a8893f..cad7f9ea7430931afaef3fbaa876e04f727ca7fe 100644 |
--- a/runtime/vm/object_service.cc |
+++ b/runtime/vm/object_service.cc |
@@ -868,11 +868,13 @@ void Code::PrintJSONImpl(JSONStream* stream, bool ref) const { |
jsobj.AddProperty("_objectPool", object_pool); |
{ |
JSONArray jsarr(&jsobj, "_disassembly"); |
+#if !defined(DART_PRECOMPILED_RUNTIME) |
if (is_alive()) { |
// Only disassemble alive code objects. |
DisassembleToJSONStream formatter(jsarr); |
Disassemble(&formatter); |
} |
+#endif // !defined(DART_PRECOMPILED_RUNTIME) |
} |
const PcDescriptors& descriptors = PcDescriptors::Handle(pc_descriptors()); |
if (!descriptors.IsNull()) { |