| Index: pkg/compiler/lib/src/cps_ir/type_propagation.dart
|
| diff --git a/pkg/compiler/lib/src/cps_ir/type_propagation.dart b/pkg/compiler/lib/src/cps_ir/type_propagation.dart
|
| index 05a43c7f4cfc16f787d42ee38130b012b63ab732..bbdb7c21a4731a75c4b6c56ccdace4840d51ac6f 100644
|
| --- a/pkg/compiler/lib/src/cps_ir/type_propagation.dart
|
| +++ b/pkg/compiler/lib/src/cps_ir/type_propagation.dart
|
| @@ -842,6 +842,16 @@ class _TypePropagationVisitor<T> implements Visitor {
|
| void visitCreateInstance(CreateInstance node) {
|
| setValue(node, nonConst());
|
| }
|
| +
|
| + void visitReifyRuntimeType(ReifyRuntimeType node) {
|
| + setValue(node, nonConst(typeSystem.typeType));
|
| + }
|
| +
|
| + void visitReadTypeVariable(ReadTypeVariable node) {
|
| + // TODO(karlklose): come up with a type marker for JS entities or switch to
|
| + // real constants of type [Type].
|
| + setValue(node, nonConst());
|
| + }
|
| }
|
|
|
| /// Represents the abstract value of a primitive value at some point in the
|
|
|