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

Unified Diff: lib/compiler/implementation/js_backend/emitter.dart

Issue 10905305: Patch refactoring. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Replaced includeInjectedMembers by implementation 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
Index: lib/compiler/implementation/js_backend/emitter.dart
diff --git a/lib/compiler/implementation/js_backend/emitter.dart b/lib/compiler/implementation/js_backend/emitter.dart
index 9b390a3d9259479a87b1c1dd972acc8140f58c9d..3cfcd86369bac05ac6b63f9e89c5fd49cae01aef 100644
--- a/lib/compiler/implementation/js_backend/emitter.dart
+++ b/lib/compiler/implementation/js_backend/emitter.dart
@@ -636,7 +636,7 @@ function(prototype, staticName, fieldName, getterName, lazyValue) {
// generate the field getter/setter dynamically. Since this is only
// allowed on fields that are in [classElement] we don't need to visit
// superclasses for non-instantiated classes.
- classElement.forEachInstanceField(
+ classElement.implementation.forEachInstanceField(
addField,
includeBackendMembers: true,
includeSuperMembers: isInstantiated && !classElement.isNative());
@@ -661,8 +661,8 @@ function(prototype, staticName, fieldName, getterName, lazyValue) {
buffer.add(memberBuffer);
}
- classElement.forEachMember(includeBackendMembers: true,
- f: (ClassElement enclosing, Element member) {
+ classElement.implementation.forEachMember(includeBackendMembers: true,
+ f: (ClassElement enclosing, Element member) {
assert(invariant(classElement, member.isDeclaration));
if (member.isInstanceMember()) {
addInstanceMember(member, defineInstanceMember);

Powered by Google App Engine
This is Rietveld 408576698