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

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: Address comments 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
« no previous file with comments | « runtime/vm/object.cc ('k') | runtime/vm/symbols.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/symbols.h
diff --git a/runtime/vm/symbols.h b/runtime/vm/symbols.h
index 97c6ce10d6aff9f9282d16626a9d6a97c4838fd3..5e2d585559a1dd58d036a683a45a3763b07ceeb2 100644
--- a/runtime/vm/symbols.h
+++ b/runtime/vm/symbols.h
@@ -5,6 +5,7 @@
#ifndef VM_SYMBOLS_H_
#define VM_SYMBOLS_H_
+#include "vm/growable_array.h"
#include "vm/object.h"
#include "vm/snapshot_ids.h"
@@ -594,6 +595,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);
« no previous file with comments | « runtime/vm/object.cc ('k') | runtime/vm/symbols.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698