Index: pkg/compiler/lib/src/resolution/registry.dart |
diff --git a/pkg/compiler/lib/src/resolution/registry.dart b/pkg/compiler/lib/src/resolution/registry.dart |
index 7d24835bdfa98a00049c53d466246541ef63a213..3d6fa1146418f1cddb527ae015c9caae7bc4e8c4 100644 |
--- a/pkg/compiler/lib/src/resolution/registry.dart |
+++ b/pkg/compiler/lib/src/resolution/registry.dart |
@@ -279,6 +279,10 @@ class ResolutionRegistry implements Registry { |
ConstantExpression getConstant(Node node) => mapping.getConstant(node); |
+ void setConstant(Node node, ConstantExpression constant) { |
+ mapping.setConstant(node, constant); |
+ } |
+ |
////////////////////////////////////////////////////////////////////////////// |
// Target/Label functionality. |
////////////////////////////////////////////////////////////////////////////// |