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

Unified Diff: vm/intrinsifier_ia32.cc

Issue 11667012: Convert all symbols accessor to return read only handles so that it is not necessary to create a ne… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 7 years, 12 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
Index: vm/intrinsifier_ia32.cc
===================================================================
--- vm/intrinsifier_ia32.cc (revision 16583)
+++ vm/intrinsifier_ia32.cc (working copy)
@@ -174,10 +174,9 @@
static intptr_t ComputeObjectArrayTypeArgumentsOffset() {
- const String& class_name = String::Handle(Symbols::New("_ObjectArray"));
const Library& core_lib = Library::Handle(Library::CoreLibrary());
const Class& cls =
- Class::Handle(core_lib.LookupClassAllowPrivate(class_name));
+ Class::Handle(core_lib.LookupClassAllowPrivate(Symbols::ObjectArray()));
ASSERT(!cls.IsNull());
ASSERT(cls.HasTypeArguments());
ASSERT(cls.NumTypeArguments() == 1);
« no previous file with comments | « vm/intermediate_language_x64.cc ('k') | vm/megamorphic_cache_table.cc » ('j') | vm/symbols.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698