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

Unified Diff: runtime/vm/isolate.cc

Issue 10869063: Add attributions so printf like functions can have their arguments checked. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: rebased Created 8 years, 3 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/vm/il_printer.cc ('k') | runtime/vm/locations.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/isolate.cc
diff --git a/runtime/vm/isolate.cc b/runtime/vm/isolate.cc
index f30a02cf433c5435f5790caf8c74f7b7c89e2a5f..934179687d76401a2fe4d4ebc11843c495cfde19 100644
--- a/runtime/vm/isolate.cc
+++ b/runtime/vm/isolate.cc
@@ -374,7 +374,7 @@ void Isolate::PrintInvokedFunctions() {
}
invoked_functions.Sort(MostUsedFunctionFirst);
for (int i = 0; i < invoked_functions.length(); i++) {
- OS::Print("%10d x %s\n",
+ OS::Print("%10"Pd" x %s\n",
invoked_functions[i]->usage_counter(),
invoked_functions[i]->ToFullyQualifiedCString());
}
@@ -414,7 +414,7 @@ void Isolate::Shutdown() {
if (FLAG_trace_isolates) {
Zone zone(this);
HandleScope handle_scope(this);
- OS::Print("Number of symbols added = %d\n", Symbols::Size(this));
+ OS::Print("Number of symbols added = %"Pd"\n", Symbols::Size(this));
OS::Print("[-] Stopping isolate:\n"
"\tisolate: %s\n", name());
}
« no previous file with comments | « runtime/vm/il_printer.cc ('k') | runtime/vm/locations.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698