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

Unified Diff: runtime/vm/symbols.h

Issue 1322973006: Symbols::NewFormatted and old space allocation. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: synced 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
Index: runtime/vm/symbols.h
diff --git a/runtime/vm/symbols.h b/runtime/vm/symbols.h
index 726988dd802a6ebbf1e0cb60acfca692b322a54c..8a91de7aec41b3aa1e64030900a39b535a65953f 100644
--- a/runtime/vm/symbols.h
+++ b/runtime/vm/symbols.h
@@ -595,6 +595,10 @@ class Symbols : public AllStatic {
intptr_t begin_index,
intptr_t length);
+ static RawString* NewFormatted(const char* format, ...)
+ PRINTF_ATTRIBUTE(1, 2);
+ static RawString* NewFormattedV(const char* format, va_list args);
+
static RawString* FromConcat(const String& str1, const String& str2);
static RawString* FromConcatAll(
« runtime/vm/parser.cc ('K') | « runtime/vm/parser.cc ('k') | runtime/vm/symbols.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698