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

Unified Diff: runtime/vm/zone.h

Issue 1331623002: Uses SNPRINT macro where possible. Otherwise uses #define for format. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: add missing include Created 5 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/version_in.cc ('k') | runtime/vm/zone.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/zone.h
diff --git a/runtime/vm/zone.h b/runtime/vm/zone.h
index 4850e5eb321d67863cd7d6b587a016148e69c911..361e6e28c26ff56e2d1c0987039d0ddeab681fb9 100644
--- a/runtime/vm/zone.h
+++ b/runtime/vm/zone.h
@@ -46,9 +46,12 @@ class Zone {
// Make a copy of the string in the zone allocated area.
char* MakeCopyOfString(const char* str);
+ // TODO(zra): Remove these calls and replace them with calls to OS::SCreate
+ // and OS::VSCreate.
+ // These calls are deprecated. Do not add further calls to these functions.
+ // instead use OS::SCreate and OS::VSCreate.
// Make a zone-allocated string based on printf format and args.
char* PrintToString(const char* format, ...) PRINTF_ATTRIBUTE(2, 3);
-
char* VPrint(const char* format, va_list args);
// Compute the total size of this zone. This includes wasted space that is
« no previous file with comments | « runtime/vm/version_in.cc ('k') | runtime/vm/zone.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698