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

Unified Diff: runtime/vm/intrinsifier_x64.cc

Issue 11000025: Revert hiding of VM-only coreimpl list implementation types. While I (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 3 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 | « runtime/vm/intrinsifier_ia32.cc ('k') | runtime/vm/object.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/intrinsifier_x64.cc
diff --git a/runtime/vm/intrinsifier_x64.cc b/runtime/vm/intrinsifier_x64.cc
index 2b812f90d1f244dd0d3d7ea75c4d6c2061767315..79dba1e40340f3a3ab4a4f654d5258e3b272f180 100644
--- a/runtime/vm/intrinsifier_x64.cc
+++ b/runtime/vm/intrinsifier_x64.cc
@@ -1237,17 +1237,15 @@ static intptr_t GetOffsetForField(const char* class_name_p,
const char* field_name_p) {
const String& class_name = String::Handle(Symbols::New(class_name_p));
const String& field_name = String::Handle(Symbols::New(field_name_p));
- const Library& coreimpl_lib = Library::Handle(Library::CoreImplLibrary());
- const Class& cls =
- Class::Handle(coreimpl_lib.LookupClassAllowPrivate(class_name));
+ const Class& cls = Class::Handle(Library::Handle(
+ Library::CoreImplLibrary()).LookupClass(class_name));
ASSERT(!cls.IsNull());
const Field& field = Field::ZoneHandle(cls.LookupInstanceField(field_name));
ASSERT(!field.IsNull());
return field.Offset();
}
-
-static const char* kFixedSizeArrayIteratorClassName = "_FixedSizeArrayIterator";
+static const char* kFixedSizeArrayIteratorClassName = "FixedSizeArrayIterator";
// Class 'FixedSizeArrayIterator':
// T next() {
« no previous file with comments | « runtime/vm/intrinsifier_ia32.cc ('k') | runtime/vm/object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698