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

Side by Side Diff: dart/sdk/lib/_internal/compiler/implementation/use_unused_api.dart

Issue 233233002: Copy types object when using a cached compiler. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Found issue during test, added comment. Created 6 years, 8 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
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 /// This file use methods that aren't used by dart2js.dart, but that we wish to 5 /// This file use methods that aren't used by dart2js.dart, but that we wish to
6 /// keep anyway. This might be general API that isn't currently in use, 6 /// keep anyway. This might be general API that isn't currently in use,
7 /// debugging aids, or API only used for testing (see TODO below). 7 /// debugging aids, or API only used for testing (see TODO below).
8 8
9 library dart2js.use_unused_api; 9 library dart2js.use_unused_api;
10 10
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 // most cases, such API can be moved to a test library. 189 // most cases, such API can be moved to a test library.
190 dart2jslib.World world = null; 190 dart2jslib.World world = null;
191 dart2jslib.Compiler compiler = null; 191 dart2jslib.Compiler compiler = null;
192 compiler.currentlyInUserCode(); 192 compiler.currentlyInUserCode();
193 type_graph_inferrer.TypeGraphInferrer typeGraphInferrer = null; 193 type_graph_inferrer.TypeGraphInferrer typeGraphInferrer = null;
194 source_file_provider.SourceFileProvider sourceFileProvider = null; 194 source_file_provider.SourceFileProvider sourceFileProvider = null;
195 world.hasAnyUserDefinedGetter(null); 195 world.hasAnyUserDefinedGetter(null);
196 compiler.importHelperLibrary(null); 196 compiler.importHelperLibrary(null);
197 typeGraphInferrer.getCallersOf(null); 197 typeGraphInferrer.getCallersOf(null);
198 dart_types.Types.sorted(null); 198 dart_types.Types.sorted(null);
199 new dart_types.Types(compiler, null).copy(compiler);
199 new universe.TypedSelector.subclass(null, null); 200 new universe.TypedSelector.subclass(null, null);
200 new universe.TypedSelector.subtype(null, null); 201 new universe.TypedSelector.subtype(null, null);
201 new universe.TypedSelector.exact(null, null); 202 new universe.TypedSelector.exact(null, null);
202 sourceFileProvider.readStringFromUri(null); 203 sourceFileProvider.readStringFromUri(null);
203 } 204 }
204 205
205 useElements(elements.ClassElement e, elements.Name n) { 206 useElements(elements.ClassElement e, elements.Name n) {
206 e.lookupClassMember(null); 207 e.lookupClassMember(null);
207 e.lookupInterfaceMember(null); 208 e.lookupInterfaceMember(null);
208 n.isAccessibleFrom(null); 209 n.isAccessibleFrom(null);
(...skipping 11 matching lines...) Expand all
220 ..visitExpression(null) 221 ..visitExpression(null)
221 ..visitFunctionDefinition(null) 222 ..visitFunctionDefinition(null)
222 ..visitInvokeStatic(null) 223 ..visitInvokeStatic(null)
223 ..visitLetCont(null) 224 ..visitLetCont(null)
224 ..visitNode(null) 225 ..visitNode(null)
225 ..visitParameter(null); 226 ..visitParameter(null);
226 task 227 task
227 ..hasIr(null) 228 ..hasIr(null)
228 ..getIr(null); 229 ..getIr(null);
229 } 230 }
OLDNEW
« no previous file with comments | « dart/sdk/lib/_internal/compiler/implementation/dart_types.dart ('k') | dart/tests/compiler/dart2js/memory_compiler.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698