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

Unified Diff: vm/flow_graph_compiler.cc

Issue 10783035: Create frequently used symbols in the vm isolate (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 years, 5 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 | « vm/flow_graph_builder.cc ('k') | vm/flow_graph_compiler_ia32.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/flow_graph_compiler.cc
===================================================================
--- vm/flow_graph_compiler.cc (revision 9829)
+++ vm/flow_graph_compiler.cc (working copy)
@@ -15,6 +15,7 @@
#include "vm/object_store.h"
#include "vm/parser.h"
#include "vm/stub_code.h"
+#include "vm/symbols.h"
namespace dart {
@@ -410,7 +411,7 @@
void FlowGraphCompiler::EmitLoadIndexedGeneric(LoadIndexedComp* comp) {
const String& function_name =
- String::ZoneHandle(String::NewSymbol(Token::Str(Token::kINDEX)));
+ String::ZoneHandle(Symbols::New(Token::Str(Token::kINDEX)));
AddCurrentDescriptor(PcDescriptors::kDeopt,
comp->cid(),
« no previous file with comments | « vm/flow_graph_builder.cc ('k') | vm/flow_graph_compiler_ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698