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

Unified Diff: runtime/vm/message_handler.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/locations.cc ('k') | runtime/vm/message_handler_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/message_handler.cc
diff --git a/runtime/vm/message_handler.cc b/runtime/vm/message_handler.cc
index 56f79a05b2afcbd88d3904d66de696548a0d8a1c..11770d9868746e782db4c79ff984f62a7651f826 100644
--- a/runtime/vm/message_handler.cc
+++ b/runtime/vm/message_handler.cc
@@ -95,9 +95,9 @@ void MessageHandler::PostMessage(Message* message) {
}
OS::Print("[>] Posting message:\n"
"\tsource: %s\n"
- "\treply_port: %lld\n"
+ "\treply_port: %"Pd64"\n"
"\tdest: %s\n"
- "\tdest_port: %lld\n",
+ "\tdest_port: %"Pd64"\n",
source_name, message->reply_port(), name(), message->dest_port());
}
@@ -141,7 +141,7 @@ bool MessageHandler::HandleMessages(bool allow_normal_messages,
if (FLAG_trace_isolates) {
OS::Print("[<] Handling message:\n"
"\thandler: %s\n"
- "\tport: %lld\n",
+ "\tport: %"Pd64"\n",
name(), message->dest_port());
}
@@ -235,7 +235,7 @@ void MessageHandler::ClosePort(Dart_Port port) {
if (FLAG_trace_isolates) {
OS::Print("[-] Closing port:\n"
"\thandler: %s\n"
- "\tport: %d\n",
+ "\tport: %"Pd64"\n",
name(), port);
}
queue_->Flush(port);
« no previous file with comments | « runtime/vm/locations.cc ('k') | runtime/vm/message_handler_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698