Index: pkg/compiler/lib/src/cps_ir/cps_ir_nodes.dart |
diff --git a/pkg/compiler/lib/src/cps_ir/cps_ir_nodes.dart b/pkg/compiler/lib/src/cps_ir/cps_ir_nodes.dart |
index d052121e9ce2ce1aec11e740784e965075c61085..90e500b083965d64c8d98dcba87977a0fb1ac2d2 100644 |
--- a/pkg/compiler/lib/src/cps_ir/cps_ir_nodes.dart |
+++ b/pkg/compiler/lib/src/cps_ir/cps_ir_nodes.dart |
@@ -670,10 +670,9 @@ class CreateInvocationMirror extends Primitive { |
class Constant extends Primitive { |
final ConstantExpression expression; |
+ final values.ConstantValue value; |
- Constant(this.expression); |
- |
- values.ConstantValue get value => expression.value; |
+ Constant(this.expression, this.value); |
accept(Visitor visitor) => visitor.visitConstant(this); |
} |