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

Unified Diff: vm/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/code_patcher_x64_test.cc ('k') | vm/compiler_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/compiler.cc
===================================================================
--- vm/compiler.cc (revision 9829)
+++ vm/compiler.cc (working copy)
@@ -24,6 +24,7 @@
#include "vm/os.h"
#include "vm/parser.h"
#include "vm/scanner.h"
+#include "vm/symbols.h"
#include "vm/timer.h"
namespace dart {
@@ -439,7 +440,7 @@
// Create a dummy function object for the code generator.
const char* kEvalConst = "eval_const";
const Function& func = Function::Handle(Function::New(
- String::Handle(String::NewSymbol(kEvalConst)),
+ String::Handle(Symbols::New(kEvalConst)),
RawFunction::kConstImplicitGetter,
true, // static function.
false, // not const function.
« no previous file with comments | « vm/code_patcher_x64_test.cc ('k') | vm/compiler_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698