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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 GetterName, | 67 GetterName, |
68 JavaScriptBackend, | 68 JavaScriptBackend, |
69 JavaScriptConstantCompiler, | 69 JavaScriptConstantCompiler, |
70 Namer, | 70 Namer, |
71 RuntimeTypes, | 71 RuntimeTypes, |
72 SetterName, | 72 SetterName, |
73 Substitution, | 73 Substitution, |
74 TypeCheck, | 74 TypeCheck, |
75 TypeChecks, | 75 TypeChecks, |
76 TypeVariableHandler; | 76 TypeVariableHandler; |
| 77 import '../../js/js_debug.dart'; |
77 import '../../universe/call_structure.dart' show | 78 import '../../universe/call_structure.dart' show |
78 CallStructure; | 79 CallStructure; |
79 import '../../universe/selector.dart' show | 80 import '../../universe/selector.dart' show |
80 Selector; | 81 Selector; |
81 import '../../util/characters.dart' show | 82 import '../../util/characters.dart' show |
82 $$, | 83 $$, |
83 $A, | 84 $A, |
84 $HASH, | 85 $HASH, |
85 $PERIOD, | 86 $PERIOD, |
86 $Z, | 87 $Z, |
(...skipping 2056 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2143 for (Element element in compiler.enqueuer.codegen.newlyEnqueuedElements) { | 2144 for (Element element in compiler.enqueuer.codegen.newlyEnqueuedElements) { |
2144 if (element.isInstanceMember) { | 2145 if (element.isInstanceMember) { |
2145 cachedClassBuilders.remove(element.enclosingClass); | 2146 cachedClassBuilders.remove(element.enclosingClass); |
2146 | 2147 |
2147 nativeEmitter.cachedBuilders.remove(element.enclosingClass); | 2148 nativeEmitter.cachedBuilders.remove(element.enclosingClass); |
2148 | 2149 |
2149 } | 2150 } |
2150 } | 2151 } |
2151 } | 2152 } |
2152 } | 2153 } |
OLD | NEW |