| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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 part of dart2js_incremental; | 5 part of dart2js_incremental; |
| 6 | 6 |
| 7 /// Do not call this method directly. It will be made private. | 7 /// Do not call this method directly. It will be made private. |
| 8 // TODO(ahe): Make this method private. | 8 // TODO(ahe): Make this method private. |
| 9 Future<Compiler> reuseCompiler( | 9 Future<Compiler> reuseCompiler( |
| 10 {DiagnosticHandler diagnosticHandler, | 10 {DiagnosticHandler diagnosticHandler, |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 backend.emitter.nativeEmitter | 125 backend.emitter.nativeEmitter |
| 126 ..hasNativeClasses = false | 126 ..hasNativeClasses = false |
| 127 ..nativeMethods.clear(); | 127 ..nativeMethods.clear(); |
| 128 | 128 |
| 129 backend.emitter.readTypeVariables.clear(); | 129 backend.emitter.readTypeVariables.clear(); |
| 130 | 130 |
| 131 backend.emitter.oldEmitter | 131 backend.emitter.oldEmitter |
| 132 ..outputBuffers.clear() | 132 ..outputBuffers.clear() |
| 133 ..isolateProperties = null | 133 ..isolateProperties = null |
| 134 ..classesCollector = null | 134 ..classesCollector = null |
| 135 ..nativeClasses.clear() | |
| 136 ..mangledFieldNames.clear() | 135 ..mangledFieldNames.clear() |
| 137 ..mangledGlobalFieldNames.clear() | 136 ..mangledGlobalFieldNames.clear() |
| 138 ..recordedMangledNames.clear() | 137 ..recordedMangledNames.clear() |
| 139 ..additionalProperties.clear() | 138 ..additionalProperties.clear() |
| 140 ..clearCspPrecompiledNodes() | 139 ..clearCspPrecompiledNodes() |
| 141 ..elementDescriptors.clear(); | 140 ..elementDescriptors.clear(); |
| 142 | 141 |
| 143 backend.emitter | 142 backend.emitter |
| 143 ..nativeOrExtendsNativeClasses.clear() |
| 144 ..outputContainsConstantList = false | 144 ..outputContainsConstantList = false |
| 145 ..neededClasses.clear() | 145 ..neededClasses.clear() |
| 146 ..outputClassLists.clear() | 146 ..outputClassLists.clear() |
| 147 ..outputConstantLists.clear() | 147 ..outputConstantLists.clear() |
| 148 ..outputStaticLists.clear() | 148 ..outputStaticLists.clear() |
| 149 ..outputStaticNonFinalFieldLists.clear() | 149 ..outputStaticNonFinalFieldLists.clear() |
| 150 ..outputLibraryLists.clear(); | 150 ..outputLibraryLists.clear(); |
| 151 | 151 |
| 152 backend | 152 backend |
| 153 ..preMirrorsMethodCount = 0; | 153 ..preMirrorsMethodCount = 0; |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 196 final Map<String, String> output = new Map<String, String>(); | 196 final Map<String, String> output = new Map<String, String>(); |
| 197 | 197 |
| 198 EventSink<String> call(String name, String extension) { | 198 EventSink<String> call(String name, String extension) { |
| 199 return new StringEventSink((String data) { | 199 return new StringEventSink((String data) { |
| 200 output['$name.$extension'] = data; | 200 output['$name.$extension'] = data; |
| 201 }); | 201 }); |
| 202 } | 202 } |
| 203 | 203 |
| 204 String operator[] (String key) => output[key]; | 204 String operator[] (String key) => output[key]; |
| 205 } | 205 } |
| OLD | NEW |