| 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; |
| 11 import 'package:js_runtime/shared/embedded_names.dart' show | 11 import 'package:js_runtime/shared/embedded_names.dart' show |
| 12 JsBuiltin, | 12 JsBuiltin, |
| 13 JsGetName; | 13 JsGetName; |
| 14 | 14 |
| 15 import '../headers.dart'; | 15 import '../headers.dart'; |
| 16 | 16 |
| 17 import '../js_emitter.dart' hide Emitter; | 17 import '../js_emitter.dart' hide Emitter; |
| 18 import '../js_emitter.dart' as js_emitter show Emitter; | 18 import '../js_emitter.dart' as js_emitter show Emitter; |
| 19 | 19 |
| 20 import '../model.dart'; | 20 import '../model.dart'; |
| 21 import '../program_builder/program_builder.dart'; | 21 import '../program_builder/program_builder.dart'; |
| 22 | 22 |
| 23 import '../../common.dart'; | 23 import '../../common.dart'; |
| 24 | 24 |
| 25 import '../../constants/values.dart'; | 25 import '../../constants/values.dart'; |
| 26 | 26 |
| 27 import '../../deferred_load.dart' show OutputUnit; | 27 import '../../deferred_load.dart' show OutputUnit; |
| 28 | 28 |
| 29 import '../../diagnostics/messages.dart' show MessageKind; |
| 30 |
| 29 import '../../diagnostics/spannable.dart' show | 31 import '../../diagnostics/spannable.dart' show |
| 30 NO_LOCATION_SPANNABLE; | 32 NO_LOCATION_SPANNABLE; |
| 31 | 33 |
| 32 import '../../elements/elements.dart' show | 34 import '../../elements/elements.dart' show |
| 33 ConstructorBodyElement, | 35 ConstructorBodyElement, |
| 34 ElementKind, | 36 ElementKind, |
| 35 FieldElement, | 37 FieldElement, |
| 36 ParameterElement, | 38 ParameterElement, |
| 37 TypeVariableElement, | 39 TypeVariableElement, |
| 38 MethodElement, | 40 MethodElement, |
| (...skipping 22 matching lines...) Expand all Loading... |
| 61 JavaScriptBackend, | 63 JavaScriptBackend, |
| 62 JavaScriptConstantCompiler, | 64 JavaScriptConstantCompiler, |
| 63 Namer, | 65 Namer, |
| 64 RuntimeTypes, | 66 RuntimeTypes, |
| 65 SetterName, | 67 SetterName, |
| 66 Substitution, | 68 Substitution, |
| 67 TypeCheck, | 69 TypeCheck, |
| 68 TypeChecks, | 70 TypeChecks, |
| 69 TypeVariableHandler; | 71 TypeVariableHandler; |
| 70 | 72 |
| 71 import '../../messages.dart' show MessageKind; | |
| 72 | |
| 73 import '../../util/characters.dart' show | 73 import '../../util/characters.dart' show |
| 74 $$, | 74 $$, |
| 75 $A, | 75 $A, |
| 76 $HASH, | 76 $HASH, |
| 77 $PERIOD, | 77 $PERIOD, |
| 78 $Z, | 78 $Z, |
| 79 $a, | 79 $a, |
| 80 $z; | 80 $z; |
| 81 | 81 |
| 82 import '../../util/uri_extras.dart' show | 82 import '../../util/uri_extras.dart' show |
| (...skipping 2036 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2119 for (Element element in compiler.enqueuer.codegen.newlyEnqueuedElements) { | 2119 for (Element element in compiler.enqueuer.codegen.newlyEnqueuedElements) { |
| 2120 if (element.isInstanceMember) { | 2120 if (element.isInstanceMember) { |
| 2121 cachedClassBuilders.remove(element.enclosingClass); | 2121 cachedClassBuilders.remove(element.enclosingClass); |
| 2122 | 2122 |
| 2123 nativeEmitter.cachedBuilders.remove(element.enclosingClass); | 2123 nativeEmitter.cachedBuilders.remove(element.enclosingClass); |
| 2124 | 2124 |
| 2125 } | 2125 } |
| 2126 } | 2126 } |
| 2127 } | 2127 } |
| 2128 } | 2128 } |
| OLD | NEW |