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

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

Issue 832043003: dart2js: Remove unused variable. (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 | « pkg/compiler/lib/src/js_emitter/old_emitter/container_builder.dart ('k') | 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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 // [OldEmitter.invalidateCaches] if it was invoked on a full compile (in 105 // [OldEmitter.invalidateCaches] if it was invoked on a full compile (in
106 // which case nothing should be invalidated), or if it is an incremental 106 // which case nothing should be invalidated), or if it is an incremental
107 // compilation (in which case, holders/owners of newly compiled methods 107 // compilation (in which case, holders/owners of newly compiled methods
108 // must be invalidated). 108 // must be invalidated).
109 backend.emitter.oldEmitter.cachedElements.add(null); 109 backend.emitter.oldEmitter.cachedElements.add(null);
110 110
111 compiler.enqueuer.codegen 111 compiler.enqueuer.codegen
112 ..newlyEnqueuedElements.clear() 112 ..newlyEnqueuedElements.clear()
113 ..newlySeenSelectors.clear(); 113 ..newlySeenSelectors.clear();
114 114
115 backend.emitter.oldEmitter.containerBuilder
116 ..staticGetters.clear();
117
118 backend.emitter.oldEmitter.nsmEmitter 115 backend.emitter.oldEmitter.nsmEmitter
119 ..trivialNsmHandlers.clear(); 116 ..trivialNsmHandlers.clear();
120 117
121 backend.emitter.typeTestRegistry 118 backend.emitter.typeTestRegistry
122 ..checkedClasses = null 119 ..checkedClasses = null
123 ..checkedFunctionTypes = null 120 ..checkedFunctionTypes = null
124 ..rtiNeededClasses.clear() 121 ..rtiNeededClasses.clear()
125 ..cachedClassesUsingTypeVariableTests = null; 122 ..cachedClassesUsingTypeVariableTests = null;
126 123
127 backend.emitter.oldEmitter.interceptorEmitter 124 backend.emitter.oldEmitter.interceptorEmitter
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 final Map<String, String> output = new Map<String, String>(); 200 final Map<String, String> output = new Map<String, String>();
204 201
205 EventSink<String> call(String name, String extension) { 202 EventSink<String> call(String name, String extension) {
206 return new StringEventSink((String data) { 203 return new StringEventSink((String data) {
207 output['$name.$extension'] = data; 204 output['$name.$extension'] = data;
208 }); 205 });
209 } 206 }
210 207
211 String operator[] (String key) => output[key]; 208 String operator[] (String key) => output[key];
212 } 209 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/js_emitter/old_emitter/container_builder.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698