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

Unified Diff: runtime/vm/flow_graph_builder.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 | « runtime/tests/vm/dart/isolate_mirror_local_test.dart ('k') | runtime/vm/intrinsifier_ia32.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/flow_graph_builder.cc
diff --git a/runtime/vm/flow_graph_builder.cc b/runtime/vm/flow_graph_builder.cc
index 734cd4c574d5e40968ec2b7ffcee8a53802683ff..0bb69252bd60d2fe6ffd5ede2ecc2dd03b9f05f5 100644
--- a/runtime/vm/flow_graph_builder.cc
+++ b/runtime/vm/flow_graph_builder.cc
@@ -1689,9 +1689,9 @@ static bool IsRecognizedConstructor(const Function& function,
static intptr_t GetResultCidOfConstructor(ConstructorCallNode* node) {
const Function& function = node->constructor();
const Class& function_class = Class::Handle(function.Owner());
- const Library& core_impl_lib = Library::Handle(Library::CoreImplLibrary());
+ const Library& core_lib = Library::Handle(Library::CoreLibrary());
- if (function_class.library() != core_impl_lib.raw()) {
+ if (function_class.library() != core_lib.raw()) {
return kDynamicCid;
}
@@ -2067,7 +2067,7 @@ void EffectGraphVisitor::VisitStaticGetterNode(StaticGetterNode* node) {
const String& cls_name = String::Handle(Symbols::NoSuchMethodError());
const String& func_name = String::Handle(Symbols::ThrowNew());
const Class& cls = Class::Handle(
- Library::Handle(Library::CoreImplLibrary()).LookupClass(cls_name));
+ Library::Handle(Library::CoreLibrary()).LookupClass(cls_name));
ASSERT(!cls.IsNull());
getter_function = Resolver::ResolveStatic(cls,
func_name,
« no previous file with comments | « runtime/tests/vm/dart/isolate_mirror_local_test.dart ('k') | runtime/vm/intrinsifier_ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698