| 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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 VariableElement; | 49 VariableElement; |
| 50 import '../../hash/sha1.dart' show Hasher; | 50 import '../../hash/sha1.dart' show Hasher; |
| 51 import '../../io/code_output.dart'; | 51 import '../../io/code_output.dart'; |
| 52 import '../../io/line_column_provider.dart' show | 52 import '../../io/line_column_provider.dart' show |
| 53 LineColumnCollector, | 53 LineColumnCollector, |
| 54 LineColumnProvider; | 54 LineColumnProvider; |
| 55 import '../../io/source_map_builder.dart' show | 55 import '../../io/source_map_builder.dart' show |
| 56 SourceMapBuilder; | 56 SourceMapBuilder; |
| 57 import '../../js/js.dart' as jsAst; | 57 import '../../js/js.dart' as jsAst; |
| 58 import '../../js/js.dart' show js; | 58 import '../../js/js.dart' show js; |
| 59 import '../../js_backend/backend_helpers.dart' show |
| 60 BackendHelpers; |
| 59 import '../../js_backend/js_backend.dart' show | 61 import '../../js_backend/js_backend.dart' show |
| 60 CheckedModeHelper, | 62 CheckedModeHelper, |
| 61 CompoundName, | 63 CompoundName, |
| 62 ConstantEmitter, | 64 ConstantEmitter, |
| 63 CustomElementsAnalysis, | 65 CustomElementsAnalysis, |
| 64 GetterName, | 66 GetterName, |
| 65 JavaScriptBackend, | 67 JavaScriptBackend, |
| 66 JavaScriptConstantCompiler, | 68 JavaScriptConstantCompiler, |
| 67 Namer, | 69 Namer, |
| 68 RuntimeTypes, | 70 RuntimeTypes, |
| (...skipping 2056 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2125 for (Element element in compiler.enqueuer.codegen.newlyEnqueuedElements) { | 2127 for (Element element in compiler.enqueuer.codegen.newlyEnqueuedElements) { |
| 2126 if (element.isInstanceMember) { | 2128 if (element.isInstanceMember) { |
| 2127 cachedClassBuilders.remove(element.enclosingClass); | 2129 cachedClassBuilders.remove(element.enclosingClass); |
| 2128 | 2130 |
| 2129 nativeEmitter.cachedBuilders.remove(element.enclosingClass); | 2131 nativeEmitter.cachedBuilders.remove(element.enclosingClass); |
| 2130 | 2132 |
| 2131 } | 2133 } |
| 2132 } | 2134 } |
| 2133 } | 2135 } |
| 2134 } | 2136 } |
| OLD | NEW |