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

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: Rebased. 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
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 d57a1ba9e05797e63d255d52c8dc4377a1566c4a..9db01dd78afbc5c933e940c9251dacf21c614b0b 100644
--- a/lib/compiler/implementation/js_backend/emitter.dart
+++ b/lib/compiler/implementation/js_backend/emitter.dart
@@ -637,7 +637,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());
@@ -662,8 +662,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