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

Unified Diff: runtime/vm/symbols.h

Issue 1313363005: Use zone allocated C-strings instead of String heap objects to construct signature symbols (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Simplify Created 5 years, 4 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 97c6ce10d6aff9f9282d16626a9d6a97c4838fd3..91619cf207606a0f9358c86d8c642b96d1e569e4 100644
--- a/runtime/vm/symbols.h
+++ b/runtime/vm/symbols.h
@@ -594,6 +594,8 @@ class Symbols : public AllStatic {
static RawString* FromConcat(const String& str1, const String& str2);
+ static RawString* FromConcatAll(const GrowableArray<const String*>& strs);
+
// Returns char* of predefined symbol.
static const char* Name(SymbolId symbol);

Powered by Google App Engine
This is Rietveld 408576698