| 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 library dart2js.js_emitter.full_emitter; | 5 library dart2js.js_emitter.full_emitter; |
| 6 | 6 |
| 7 import 'dart:convert'; | 7 import 'dart:convert'; |
| 8 import 'dart:collection' show HashMap; | 8 import 'dart:collection' show HashMap; |
| 9 | 9 |
| 10 import 'package:js_runtime/shared/embedded_names.dart' as embeddedNames; | 10 import 'package:js_runtime/shared/embedded_names.dart' as embeddedNames; |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 | 28 |
| 29 import '../../diagnostics/messages.dart' show MessageKind; | 29 import '../../diagnostics/messages.dart' show MessageKind; |
| 30 | 30 |
| 31 import '../../diagnostics/spannable.dart' show | 31 import '../../diagnostics/spannable.dart' show |
| 32 NO_LOCATION_SPANNABLE; | 32 NO_LOCATION_SPANNABLE; |
| 33 | 33 |
| 34 import '../../elements/elements.dart' show | 34 import '../../elements/elements.dart' show |
| 35 ConstructorBodyElement, | 35 ConstructorBodyElement, |
| 36 ElementKind, | 36 ElementKind, |
| 37 FieldElement, | 37 FieldElement, |
| 38 Name, |
| 38 ParameterElement, | 39 ParameterElement, |
| 39 TypeVariableElement, | 40 TypeVariableElement, |
| 40 MethodElement, | 41 MethodElement, |
| 41 MemberElement; | 42 MemberElement; |
| 42 | 43 |
| 43 import '../../hash/sha1.dart' show Hasher; | 44 import '../../hash/sha1.dart' show Hasher; |
| 44 | 45 |
| 45 import '../../io/code_output.dart'; | 46 import '../../io/code_output.dart'; |
| 46 | 47 |
| 47 import '../../io/line_column_provider.dart' show | 48 import '../../io/line_column_provider.dart' show |
| (...skipping 2071 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2119 for (Element element in compiler.enqueuer.codegen.newlyEnqueuedElements) { | 2120 for (Element element in compiler.enqueuer.codegen.newlyEnqueuedElements) { |
| 2120 if (element.isInstanceMember) { | 2121 if (element.isInstanceMember) { |
| 2121 cachedClassBuilders.remove(element.enclosingClass); | 2122 cachedClassBuilders.remove(element.enclosingClass); |
| 2122 | 2123 |
| 2123 nativeEmitter.cachedBuilders.remove(element.enclosingClass); | 2124 nativeEmitter.cachedBuilders.remove(element.enclosingClass); |
| 2124 | 2125 |
| 2125 } | 2126 } |
| 2126 } | 2127 } |
| 2127 } | 2128 } |
| 2128 } | 2129 } |
| OLD | NEW |