DescriptionThis is part of a move towards being able to replace TypeMask. First step is replacing TypeMask usage with interface that do not imply any particular way of abstracting runtime values. This CL is the first part of this first step.
This CL:
- renames the existing AbstractValue in cps_ir/type_propagation.dart to AbstractConstant
- introduces AbstractValue as an empty superinterface of TypeMask, and
- lift the interface of TypeMaskSystem to the superinterface AbstractValueDomain.
In follow-ups:
- change simple uses from TypeMask(System) to AbstractValue(Domain)
- update names and comment in AbstractValueDomain to more precisely reflect the abstraction
- update the complex uses (mainly type_propagation.dart) to use AbstractValue(Domain)
R=asgerf@google.com
Committed: https://github.com/dart-lang/sdk/commit/1328c98cc2b9c8a4704375753626fe34c569325e
Patch Set 1 #
Total comments: 3
Patch Set 2 : Revived #
Total comments: 2
Patch Set 3 : Updated cf. comments. #
Total comments: 3
Messages
Total messages: 16 (5 generated)
|