Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(306)

Unified Diff: runtime/bin/vmservice/client/lib/src/service/object.dart

Issue 227423005: Add TraceBuffer log to all Functions (plus small tweaks to function-view) (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/bin/vmservice/client/lib/src/elements/log_view.html ('k') | runtime/vm/compiler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/vmservice/client/lib/src/service/object.dart
diff --git a/runtime/bin/vmservice/client/lib/src/service/object.dart b/runtime/bin/vmservice/client/lib/src/service/object.dart
index d7d595b1e18b63ba5612d220775d1f3773bb1611..36c8b0dafdaf91c3fac70b1fa64432b42bc77e91 100644
--- a/runtime/bin/vmservice/client/lib/src/service/object.dart
+++ b/runtime/bin/vmservice/client/lib/src/service/object.dart
@@ -734,7 +734,7 @@ class ServiceMap extends ServiceObject implements ObservableMap {
_serviceType == 'Library') &&
!_id.startsWith(objectIdRingPrefix);
}
- bool get immutable => canCache;
+ bool get immutable => canCache && (_serviceType != 'Function');
ServiceMap._empty(ServiceObjectOwner owner) : super._empty(owner);
« no previous file with comments | « runtime/bin/vmservice/client/lib/src/elements/log_view.html ('k') | runtime/vm/compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698