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

Unified Diff: runtime/vm/object.cc

Issue 1087833005: Add annotation for function declarations. Mark functions with performance problems in red. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 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/observatory/lib/src/elements/script_inset.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/object.cc
diff --git a/runtime/vm/object.cc b/runtime/vm/object.cc
index 186a1bfe372e8f029e0497e7776a3856d28af5b8..cb5c7a16ccc94b44547cc3084d59176406529738 100644
--- a/runtime/vm/object.cc
+++ b/runtime/vm/object.cc
@@ -6864,7 +6864,7 @@ void Function::PrintJSONImpl(JSONStream* stream, bool ref) const {
jsobj.AddProperty("code", code);
}
jsobj.AddProperty("_optimizable", is_optimizable());
- jsobj.AddProperty("_inlinable", CanBeInlined());
+ jsobj.AddProperty("_inlinable", is_inlinable());
code = unoptimized_code();
if (!code.IsNull()) {
jsobj.AddProperty("_unoptimizedCode", code);
« no previous file with comments | « runtime/observatory/lib/src/elements/script_inset.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698