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

Unified Diff: pkg/compiler/lib/src/closure.dart

Issue 2668233002: Remove code supporting incremental compilation in dart2js (Closed)
Patch Set: Created 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/compiler/lib/src/cache_strategy.dart ('k') | pkg/compiler/lib/src/commandline_options.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/closure.dart
diff --git a/pkg/compiler/lib/src/closure.dart b/pkg/compiler/lib/src/closure.dart
index 8cec93b45be82e87191ce1e125f2e1bdbb996224..566a754d96a2cc43f2541533cc813ac659f0cf4c 100644
--- a/pkg/compiler/lib/src/closure.dart
+++ b/pkg/compiler/lib/src/closure.dart
@@ -115,19 +115,6 @@ class ClosureTask extends CompilerTask {
});
});
}
-
- void forgetElement(var closure) {
- ClosureClassElement cls;
- if (closure is ClosureFieldElement) {
- cls = closure.closureClass;
- } else if (closure is SynthesizedCallMethodElementX) {
- cls = closure.closureClass;
- } else {
- throw new SpannableAssertionFailure(
- closure, 'Not a closure: $closure (${closure.runtimeType}).');
- }
- compiler.enqueuer.codegen.forgetEntity(cls, compiler);
- }
}
/// Common interface for [BoxFieldElement] and [ClosureFieldElement] as
« no previous file with comments | « pkg/compiler/lib/src/cache_strategy.dart ('k') | pkg/compiler/lib/src/commandline_options.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698