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

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

Issue 850343004: Don't clear the global metadata during incremental compilation. (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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 115
116 backend.emitter.typeTestRegistry 116 backend.emitter.typeTestRegistry
117 ..checkedClasses = null 117 ..checkedClasses = null
118 ..checkedFunctionTypes = null 118 ..checkedFunctionTypes = null
119 ..rtiNeededClasses.clear() 119 ..rtiNeededClasses.clear()
120 ..cachedClassesUsingTypeVariableTests = null; 120 ..cachedClassesUsingTypeVariableTests = null;
121 121
122 backend.emitter.oldEmitter.interceptorEmitter 122 backend.emitter.oldEmitter.interceptorEmitter
123 ..interceptorInvocationNames.clear(); 123 ..interceptorInvocationNames.clear();
124 124
125 backend.emitter.oldEmitter.metadataEmitter
126 ..globalMetadata.clear()
127 ..globalMetadataMap.clear();
128
129 backend.emitter.nativeEmitter 125 backend.emitter.nativeEmitter
130 ..nativeClasses.clear() 126 ..nativeClasses.clear()
131 ..nativeMethods.clear(); 127 ..nativeMethods.clear();
132 128
133 backend.emitter.readTypeVariables.clear(); 129 backend.emitter.readTypeVariables.clear();
134 130
135 backend.emitter.oldEmitter 131 backend.emitter.oldEmitter
136 ..outputBuffers.clear() 132 ..outputBuffers.clear()
137 ..isolateProperties = null 133 ..isolateProperties = null
138 ..classesCollector = null 134 ..classesCollector = null
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 final Map<String, String> output = new Map<String, String>(); 196 final Map<String, String> output = new Map<String, String>();
201 197
202 EventSink<String> call(String name, String extension) { 198 EventSink<String> call(String name, String extension) {
203 return new StringEventSink((String data) { 199 return new StringEventSink((String data) {
204 output['$name.$extension'] = data; 200 output['$name.$extension'] = data;
205 }); 201 });
206 } 202 }
207 203
208 String operator[] (String key) => output[key]; 204 String operator[] (String key) => output[key];
209 } 205 }
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