Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Side by Side Diff: pkg/dart2js_incremental/lib/caching_compiler.dart

Issue 883503007: Fix incremental compiler. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698