| 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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 ..interceptorInvocationNames.clear(); | 123 ..interceptorInvocationNames.clear(); |
| 124 | 124 |
| 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 | |
| 134 ..classesCollector = null | 133 ..classesCollector = null |
| 135 ..mangledFieldNames.clear() | 134 ..mangledFieldNames.clear() |
| 136 ..mangledGlobalFieldNames.clear() | 135 ..mangledGlobalFieldNames.clear() |
| 137 ..recordedMangledNames.clear() | 136 ..recordedMangledNames.clear() |
| 138 ..clearCspPrecompiledNodes() | 137 ..clearCspPrecompiledNodes() |
| 139 ..elementDescriptors.clear(); | 138 ..elementDescriptors.clear(); |
| 140 | 139 |
| 141 backend.emitter | 140 backend.emitter |
| 142 ..nativeClassesAndSubclasses.clear() | 141 ..nativeClassesAndSubclasses.clear() |
| 143 ..outputContainsConstantList = false | 142 ..outputContainsConstantList = false |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 195 final Map<String, String> output = new Map<String, String>(); | 194 final Map<String, String> output = new Map<String, String>(); |
| 196 | 195 |
| 197 EventSink<String> call(String name, String extension) { | 196 EventSink<String> call(String name, String extension) { |
| 198 return new StringEventSink((String data) { | 197 return new StringEventSink((String data) { |
| 199 output['$name.$extension'] = data; | 198 output['$name.$extension'] = data; |
| 200 }); | 199 }); |
| 201 } | 200 } |
| 202 | 201 |
| 203 String operator[] (String key) => output[key]; | 202 String operator[] (String key) => output[key]; |
| 204 } | 203 } |
| OLD | NEW |