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

Unified Diff: vm/code_patcher_ia32_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/code_generator_test.cc ('k') | vm/code_patcher_x64_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/code_patcher_ia32_test.cc
===================================================================
--- vm/code_patcher_ia32_test.cc (revision 9829)
+++ vm/code_patcher_ia32_test.cc (working copy)
@@ -13,6 +13,7 @@
#include "vm/native_entry.h"
#include "vm/native_entry_test.h"
#include "vm/stub_code.h"
+#include "vm/symbols.h"
#include "vm/unit_test.h"
namespace dart {
@@ -22,7 +23,7 @@
const int num_params = 0;
const bool has_opt_params = false;
const String& native_name =
- String::ZoneHandle(String::NewSymbol("TestStaticCallPatching"));
+ String::ZoneHandle(Symbols::New("TestStaticCallPatching"));
NativeFunction native_function = reinterpret_cast<NativeFunction>(
NATIVE_ENTRY_FUNCTION(TestStaticCallPatching));
node_seq->Add(new ReturnNode(Scanner::kDummyTokenIndex,
@@ -48,7 +49,7 @@
ASSEMBLER_TEST_GENERATE(IcDataAccess, assembler) {
const String& function_name =
- String::ZoneHandle(String::NewSymbol("callerFunction"));
+ String::ZoneHandle(Symbols::New("callerFunction"));
const Function& function = Function::ZoneHandle(
Function::New(function_name, RawFunction::kRegularFunction,
true, false, 0));
« no previous file with comments | « vm/code_generator_test.cc ('k') | vm/code_patcher_x64_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698