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

Unified Diff: vm/snapshot_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/snapshot.cc ('k') | vm/stub_code_ia32_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/snapshot_test.cc
===================================================================
--- vm/snapshot_test.cc (revision 9829)
+++ vm/snapshot_test.cc (working copy)
@@ -10,6 +10,7 @@
#include "vm/dart_api_message.h"
#include "vm/dart_api_state.h"
#include "vm/snapshot.h"
+#include "vm/symbols.h"
#include "vm/unit_test.h"
namespace dart {
@@ -731,7 +732,7 @@
Script& script = Script::Handle(Script::New(url,
source,
RawScript::kSourceTag));
- const String& lib_url = String::Handle(String::NewSymbol("TestLib"));
+ const String& lib_url = String::Handle(Symbols::New("TestLib"));
Library& lib = Library::Handle(Library::New(lib_url));
lib.Register();
EXPECT(CompilerTest::TestCompileScript(lib, script));
« no previous file with comments | « vm/snapshot.cc ('k') | vm/stub_code_ia32_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698