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

Unified Diff: vm/resolver_test.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/raw_object_snapshot.cc ('k') | vm/runtime_entry_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/resolver_test.cc
===================================================================
--- vm/resolver_test.cc (revision 9829)
+++ vm/resolver_test.cc (working copy)
@@ -9,6 +9,7 @@
#include "vm/dart_entry.h"
#include "vm/object.h"
#include "vm/resolver.h"
+#include "vm/symbols.h"
#include "vm/unit_test.h"
namespace dart {
@@ -168,7 +169,7 @@
const Library& lib = Library::Handle(Library::LookupLibrary(lib_name));
ASSERT(!lib.IsNull());
const Class& cls = Class::Handle(lib.LookupClass(
- String::Handle(String::NewSymbol(test_class_name))));
+ String::Handle(Symbols::New(test_class_name))));
EXPECT(!cls.IsNull());
Instance& receiver = Instance::Handle(Instance::New(cls));
« no previous file with comments | « vm/raw_object_snapshot.cc ('k') | vm/runtime_entry_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698