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

Unified Diff: lib/compiler/implementation/elements/elements.dart

Issue 10119010: Start propagating non-primitive types in the backend, and fold instructions that know about the typ… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 8 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: lib/compiler/implementation/elements/elements.dart
===================================================================
--- lib/compiler/implementation/elements/elements.dart (revision 6686)
+++ lib/compiler/implementation/elements/elements.dart (working copy)
@@ -749,6 +749,11 @@
return null;
}
+ Element lookupMember(SourceString memberName) {
ahe 2012/04/18 15:23:00 Could you put a big fat warning about this not bei
ngeoffray 2012/04/19 08:09:33 Done.
+ Element localMember = localMembers[memberName];
+ return localMember === null ? lookupSuperMember(memberName) : localMember;
+ }
+
Element lookupConstructor(SourceString className,
[SourceString constructorName =
const SourceString(''),

Powered by Google App Engine
This is Rietveld 408576698