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 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 ..mangledFieldNames.clear() | 135 ..mangledFieldNames.clear() |
136 ..mangledGlobalFieldNames.clear() | 136 ..mangledGlobalFieldNames.clear() |
137 ..recordedMangledNames.clear() | 137 ..recordedMangledNames.clear() |
138 ..additionalProperties.clear() | |
139 ..clearCspPrecompiledNodes() | 138 ..clearCspPrecompiledNodes() |
140 ..elementDescriptors.clear(); | 139 ..elementDescriptors.clear(); |
141 | 140 |
142 backend.emitter | 141 backend.emitter |
143 ..nativeClassesAndSubclasses.clear() | 142 ..nativeClassesAndSubclasses.clear() |
144 ..outputContainsConstantList = false | 143 ..outputContainsConstantList = false |
145 ..neededClasses.clear() | 144 ..neededClasses.clear() |
146 ..outputClassLists.clear() | 145 ..outputClassLists.clear() |
147 ..outputConstantLists.clear() | 146 ..outputConstantLists.clear() |
148 ..outputStaticLists.clear() | 147 ..outputStaticLists.clear() |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
196 final Map<String, String> output = new Map<String, String>(); | 195 final Map<String, String> output = new Map<String, String>(); |
197 | 196 |
198 EventSink<String> call(String name, String extension) { | 197 EventSink<String> call(String name, String extension) { |
199 return new StringEventSink((String data) { | 198 return new StringEventSink((String data) { |
200 output['$name.$extension'] = data; | 199 output['$name.$extension'] = data; |
201 }); | 200 }); |
202 } | 201 } |
203 | 202 |
204 String operator[] (String key) => output[key]; | 203 String operator[] (String key) => output[key]; |
205 } | 204 } |
OLD | NEW |