OLD | NEW |
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 part of dart2js.js_emitter; | 5 part of dart2js.js_emitter; |
6 | 6 |
7 | 7 |
8 class OldEmitter implements Emitter { | 8 class OldEmitter implements Emitter { |
9 final Compiler compiler; | 9 final Compiler compiler; |
10 final CodeEmitterTask task; | 10 final CodeEmitterTask task; |
(...skipping 1978 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1989 for (Element element in compiler.enqueuer.codegen.newlyEnqueuedElements) { | 1989 for (Element element in compiler.enqueuer.codegen.newlyEnqueuedElements) { |
1990 if (element.isInstanceMember) { | 1990 if (element.isInstanceMember) { |
1991 cachedClassBuilders.remove(element.enclosingClass); | 1991 cachedClassBuilders.remove(element.enclosingClass); |
1992 | 1992 |
1993 nativeEmitter.cachedBuilders.remove(element.enclosingClass); | 1993 nativeEmitter.cachedBuilders.remove(element.enclosingClass); |
1994 | 1994 |
1995 } | 1995 } |
1996 } | 1996 } |
1997 } | 1997 } |
1998 } | 1998 } |
OLD | NEW |