| 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 19 matching lines...) Expand all Loading... |
| 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 Name, |
| 39 ParameterElement, | 39 ParameterElement, |
| 40 ParameterElement, |
| 41 InitializingFormalElement, |
| 40 TypeVariableElement, | 42 TypeVariableElement, |
| 41 MethodElement, | 43 MethodElement, |
| 42 MemberElement; | 44 MemberElement; |
| 43 | 45 |
| 44 import '../../hash/sha1.dart' show Hasher; | 46 import '../../hash/sha1.dart' show Hasher; |
| 45 | 47 |
| 46 import '../../io/code_output.dart'; | 48 import '../../io/code_output.dart'; |
| 47 | 49 |
| 48 import '../../io/line_column_provider.dart' show | 50 import '../../io/line_column_provider.dart' show |
| 49 LineColumnCollector, | 51 LineColumnCollector, |
| (...skipping 2072 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2122 for (Element element in compiler.enqueuer.codegen.newlyEnqueuedElements) { | 2124 for (Element element in compiler.enqueuer.codegen.newlyEnqueuedElements) { |
| 2123 if (element.isInstanceMember) { | 2125 if (element.isInstanceMember) { |
| 2124 cachedClassBuilders.remove(element.enclosingClass); | 2126 cachedClassBuilders.remove(element.enclosingClass); |
| 2125 | 2127 |
| 2126 nativeEmitter.cachedBuilders.remove(element.enclosingClass); | 2128 nativeEmitter.cachedBuilders.remove(element.enclosingClass); |
| 2127 | 2129 |
| 2128 } | 2130 } |
| 2129 } | 2131 } |
| 2130 } | 2132 } |
| 2131 } | 2133 } |
| OLD | NEW |