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

Unified Diff: runtime/bin/common.cc

Issue 11189141: Move ListImplementation from coreimpl to core, as a private member. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Reintroduced type. Created 8 years, 2 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 | « lib/coreimpl/list.dart ('k') | runtime/lib/array_patch.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/common.cc
diff --git a/runtime/bin/common.cc b/runtime/bin/common.cc
index 5a98342d8661266784e0a0186a882f5d904e72a0..3887e6205a125120a9ae1feaf3a6c87c61799671 100644
--- a/runtime/bin/common.cc
+++ b/runtime/bin/common.cc
@@ -23,17 +23,17 @@ void FUNCTION_NAME(Common_IsBuiltinList)(Dart_NativeArguments args) {
// If we have not cached the class pointers in the isolate data,
// look them up and cache them now.
if (object_array_class == NULL) {
- Dart_Handle coreimpl_lib =
- Dart_LookupLibrary(Dart_NewString("dart:coreimpl"));
- ASSERT(!Dart_IsError(coreimpl_lib));
+ Dart_Handle core_lib =
+ Dart_LookupLibrary(Dart_NewString("dart:core"));
+ ASSERT(!Dart_IsError(core_lib));
object_array_class =
- Dart_GetClass(coreimpl_lib, Dart_NewString("_ObjectArray"));
+ Dart_GetClass(core_lib, Dart_NewString("_ObjectArray"));
ASSERT(!Dart_IsError(object_array_class));
immutable_array_class =
- Dart_GetClass(coreimpl_lib, Dart_NewString("_ImmutableArray"));
+ Dart_GetClass(core_lib, Dart_NewString("_ImmutableArray"));
ASSERT(!Dart_IsError(immutable_array_class));
growable_object_array_class =
- Dart_GetClass(coreimpl_lib, Dart_NewString("_GrowableObjectArray"));
+ Dart_GetClass(core_lib, Dart_NewString("_GrowableObjectArray"));
ASSERT(!Dart_IsError(growable_object_array_class));
// Update the cache.
isolate_data->object_array_class =
« no previous file with comments | « lib/coreimpl/list.dart ('k') | runtime/lib/array_patch.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698