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

Unified Diff: runtime/vm/object.cc

Issue 1303923002: Remove new space allocation in optimizing compiler, use Symbols::FromConcat where appropriate (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Optimize Symbols::FromConcat 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/object.cc
diff --git a/runtime/vm/object.cc b/runtime/vm/object.cc
index 0a63e94260047f3926bc48233acefcfef485926c..f59846deb74321e36777d443c89634c572baf535 100644
--- a/runtime/vm/object.cc
+++ b/runtime/vm/object.cc
@@ -7154,7 +7154,7 @@ void RedirectionData::PrintJSONImpl(JSONStream* stream, bool ref) const {
RawString* Field::GetterName(const String& field_name) {
- return String::Concat(Symbols::GetterPrefix(), field_name);
+ return Field::GetterSymbol(field_name);
}
« no previous file with comments | « runtime/vm/class_finalizer.cc ('k') | runtime/vm/parser.cc » ('j') | runtime/vm/parser.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698