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

Unified Diff: sdk/lib/_internal/compiler/implementation/js_backend/backend.dart

Issue 11365170: Start new design for interceptors and implement String.charCodeAt with it. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: sdk/lib/_internal/compiler/implementation/js_backend/backend.dart
===================================================================
--- sdk/lib/_internal/compiler/implementation/js_backend/backend.dart (revision 14732)
+++ sdk/lib/_internal/compiler/implementation/js_backend/backend.dart (working copy)
@@ -667,6 +667,7 @@
FieldTypesRegistry fieldTypes;
final Interceptors interceptors;
+ final Set<Selector> usedInterceptors;
ahe 2012/11/12 13:24:11 Document this variable.
ngeoffray 2012/11/13 11:45:16 Done.
List<CompilerTask> get tasks {
return <CompilerTask>[builder, optimizer, generator, emitter];
@@ -679,6 +680,7 @@
returnInfo = new Map<Element, ReturnInfo>(),
invalidateAfterCodegen = new List<Element>(),
interceptors = new Interceptors(compiler),
+ usedInterceptors = new Set<Selector>(),
super(compiler, JAVA_SCRIPT_CONSTANT_SYSTEM) {
emitter = disableEval
? new CodeEmitterNoEvalTask(compiler, namer, generateSourceMap)

Powered by Google App Engine
This is Rietveld 408576698