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 ..cachedClassesUsingTypeVariableTests = null; | 125 ..cachedClassesUsingTypeVariableTests = null; |
126 | 126 |
127 backend.emitter.oldEmitter.interceptorEmitter | 127 backend.emitter.oldEmitter.interceptorEmitter |
128 ..interceptorInvocationNames.clear(); | 128 ..interceptorInvocationNames.clear(); |
129 | 129 |
130 backend.emitter.oldEmitter.metadataEmitter | 130 backend.emitter.oldEmitter.metadataEmitter |
131 ..globalMetadata.clear() | 131 ..globalMetadata.clear() |
132 ..globalMetadataMap.clear(); | 132 ..globalMetadataMap.clear(); |
133 | 133 |
134 backend.emitter.nativeEmitter | 134 backend.emitter.nativeEmitter |
135 ..nativeBuffer.clear() | |
136 ..nativeClasses.clear() | 135 ..nativeClasses.clear() |
137 ..nativeMethods.clear(); | 136 ..nativeMethods.clear(); |
138 | 137 |
139 backend.emitter.readTypeVariables.clear(); | 138 backend.emitter.readTypeVariables.clear(); |
140 | 139 |
141 backend.emitter.oldEmitter | 140 backend.emitter.oldEmitter |
142 ..outputBuffers.clear() | 141 ..outputBuffers.clear() |
143 ..deferredConstants.clear() | |
144 ..isolateProperties = null | 142 ..isolateProperties = null |
145 ..classesCollector = null | 143 ..classesCollector = null |
146 ..neededClasses.clear() | 144 ..neededClasses.clear() |
147 ..outputClassLists.clear() | 145 ..outputClassLists.clear() |
148 ..nativeClasses.clear() | 146 ..nativeClasses.clear() |
149 ..mangledFieldNames.clear() | 147 ..mangledFieldNames.clear() |
150 ..mangledGlobalFieldNames.clear() | 148 ..mangledGlobalFieldNames.clear() |
151 ..recordedMangledNames.clear() | 149 ..recordedMangledNames.clear() |
152 ..additionalProperties.clear() | 150 ..additionalProperties.clear() |
153 ..clearCspPrecompiledNodes() | 151 ..clearCspPrecompiledNodes() |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
203 final Map<String, String> output = new Map<String, String>(); | 201 final Map<String, String> output = new Map<String, String>(); |
204 | 202 |
205 EventSink<String> call(String name, String extension) { | 203 EventSink<String> call(String name, String extension) { |
206 return new StringEventSink((String data) { | 204 return new StringEventSink((String data) { |
207 output['$name.$extension'] = data; | 205 output['$name.$extension'] = data; |
208 }); | 206 }); |
209 } | 207 } |
210 | 208 |
211 String operator[] (String key) => output[key]; | 209 String operator[] (String key) => output[key]; |
212 } | 210 } |
OLD | NEW |