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); |
} |
} |