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

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

Issue 619923004: Forget closure class maps. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 3 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 | « no previous file | dart/tests/try/poi/forget_element_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/sdk/lib/_internal/compiler/implementation/js_backend/constant_handler_javascript.dart
diff --git a/dart/sdk/lib/_internal/compiler/implementation/js_backend/constant_handler_javascript.dart b/dart/sdk/lib/_internal/compiler/implementation/js_backend/constant_handler_javascript.dart
index 3ed364680a0f19cf5db25c0de6dcdf7a7491fa94..d9843263f1884d5385c96dffcca21fddfb6b0f74 100644
--- a/dart/sdk/lib/_internal/compiler/implementation/js_backend/constant_handler_javascript.dart
+++ b/dart/sdk/lib/_internal/compiler/implementation/js_backend/constant_handler_javascript.dart
@@ -250,5 +250,8 @@ class ForgetConstantNodeVisitor extends Visitor {
void visitNode(Node node) {
node.visitChildren(this);
constants.nodeConstantMap.remove(node);
+
+ // TODO(ahe): This doesn't belong here. Rename this class and generalize.
+ constants.compiler.closureToClassMapper.closureMappingCache.remove(node);
}
}
« no previous file with comments | « no previous file | dart/tests/try/poi/forget_element_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698