Index: sdk/lib/_internal/compiler/implementation/ssa/nodes.dart |
diff --git a/sdk/lib/_internal/compiler/implementation/ssa/nodes.dart b/sdk/lib/_internal/compiler/implementation/ssa/nodes.dart |
index cdc75a200a5e3ce5cbb083860c14140374e6cbe9..426d329ab88f862c22634ca2f65e6896f72ed527 100644 |
--- a/sdk/lib/_internal/compiler/implementation/ssa/nodes.dart |
+++ b/sdk/lib/_internal/compiler/implementation/ssa/nodes.dart |
@@ -1204,7 +1204,7 @@ abstract class HInstruction implements Spannable { |
// available. |
assert(type.kind != TypeKind.TYPE_VARIABLE); |
assert(type.treatAsRaw || type.kind == TypeKind.FUNCTION); |
- if (type.treatAsDynamic) return this; |
+ if (type.isDynamic) return this; |
// The type element is either a class or the void element. |
Element element = type.element; |
if (identical(element, compiler.objectClass)) return this; |