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

Unified Diff: runtime/vm/code_generator.cc

Issue 11878006: Fix printing of the function that cannot be optimized. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 11 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/code_generator.cc
===================================================================
--- runtime/vm/code_generator.cc (revision 16987)
+++ runtime/vm/code_generator.cc (working copy)
@@ -1383,7 +1383,7 @@
function.usage_counter() - FLAG_reoptimization_counter_threshold);
} else {
if (FLAG_trace_failed_optimization_attempts) {
- PrintCaller("Not Optimizable");
+ OS::Print("Not Optimizable: %s\n", function.ToFullyQualifiedCString());
siva 2013/01/11 23:08:13 We could start using OS:PrintErr going forward.
}
// TODO(5442338): Abort as this should not happen.
function.set_usage_counter(kLowInvocationCount);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698