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

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

Issue 763123002: dart2js: Split TypeTestEmitter into a registry and an emitter. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: full diff Created 6 years 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/program_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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 backend.emitter.oldEmitter.cachedElements.add(null); 97 backend.emitter.oldEmitter.cachedElements.add(null);
98 98
99 compiler.enqueuer.codegen.newlyEnqueuedElements.clear(); 99 compiler.enqueuer.codegen.newlyEnqueuedElements.clear();
100 100
101 backend.emitter.oldEmitter.containerBuilder 101 backend.emitter.oldEmitter.containerBuilder
102 ..staticGetters.clear(); 102 ..staticGetters.clear();
103 103
104 backend.emitter.oldEmitter.nsmEmitter 104 backend.emitter.oldEmitter.nsmEmitter
105 ..trivialNsmHandlers.clear(); 105 ..trivialNsmHandlers.clear();
106 106
107 backend.emitter.typeTestEmitter 107 backend.emitter.typeTestRegistry
108 ..checkedClasses = null 108 ..checkedClasses = null
109 ..checkedFunctionTypes = null 109 ..checkedFunctionTypes = null
110 ..rtiNeededClasses.clear() 110 ..rtiNeededClasses.clear()
111 ..cachedClassesUsingTypeVariableTests = null; 111 ..cachedClassesUsingTypeVariableTests = null;
112 112
113 backend.emitter.oldEmitter.interceptorEmitter 113 backend.emitter.oldEmitter.interceptorEmitter
114 ..interceptorInvocationNames.clear(); 114 ..interceptorInvocationNames.clear();
115 115
116 backend.emitter.oldEmitter.metadataEmitter 116 backend.emitter.oldEmitter.metadataEmitter
117 ..globalMetadata.clear() 117 ..globalMetadata.clear()
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 library.isPlatformLibrary || 151 library.isPlatformLibrary ||
152 (packagesAreImmutable && library.isPackageLibrary)); 152 (packagesAreImmutable && library.isPackageLibrary));
153 }; 153 };
154 } 154 }
155 return compiler.libraryLoader.resetAsync(reuseLibrary).then((_) { 155 return compiler.libraryLoader.resetAsync(reuseLibrary).then((_) {
156 oldTag.makeCurrent(); 156 oldTag.makeCurrent();
157 return compiler; 157 return compiler;
158 }); 158 });
159 } 159 }
160 } 160 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/js_emitter/program_builder.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698