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 1997 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2008 for (Element element in compiler.enqueuer.codegen.newlyEnqueuedElements) { | 2008 for (Element element in compiler.enqueuer.codegen.newlyEnqueuedElements) { |
2009 if (element.isInstanceMember) { | 2009 if (element.isInstanceMember) { |
2010 cachedClassBuilders.remove(element.enclosingClass); | 2010 cachedClassBuilders.remove(element.enclosingClass); |
2011 | 2011 |
2012 nativeEmitter.cachedBuilders.remove(element.enclosingClass); | 2012 nativeEmitter.cachedBuilders.remove(element.enclosingClass); |
2013 | 2013 |
2014 } | 2014 } |
2015 } | 2015 } |
2016 } | 2016 } |
2017 } | 2017 } |
OLD | NEW |