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

Unified Diff: vm/debugger_api_impl.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/debugger.cc ('k') | vm/exceptions.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/debugger_api_impl.cc
===================================================================
--- vm/debugger_api_impl.cc (revision 9829)
+++ vm/debugger_api_impl.cc (working copy)
@@ -9,6 +9,7 @@
#include "vm/debugger.h"
#include "vm/isolate.h"
#include "vm/object_store.h"
+#include "vm/symbols.h"
namespace dart {
@@ -610,7 +611,7 @@
prefix_name = prefix.name();
ASSERT(!prefix_name.IsNull());
prefix_name = String::Concat(prefix_name,
- String::Handle(isolate, String::New(".")));
+ String::Handle(isolate, Symbols::Dot()));
for (int i = 0; i < prefix.num_libs(); i++) {
imported = prefix.GetLibrary(i);
import_list.Add(prefix_name);
« no previous file with comments | « vm/debugger.cc ('k') | vm/exceptions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698