| Index: pkg/compiler/lib/src/inferrer/type_graph_inferrer.dart
|
| diff --git a/pkg/compiler/lib/src/inferrer/type_graph_inferrer.dart b/pkg/compiler/lib/src/inferrer/type_graph_inferrer.dart
|
| index d610c5468b0d8787350fb58f91928310afbfa8ad..e62d288942844aee4d61b07ec2bfc051c200b1a4 100644
|
| --- a/pkg/compiler/lib/src/inferrer/type_graph_inferrer.dart
|
| +++ b/pkg/compiler/lib/src/inferrer/type_graph_inferrer.dart
|
| @@ -367,9 +367,10 @@ class TypeInformationSystem extends TypeSystem<TypeInformation> {
|
| TypeInformation allocateList(
|
| TypeInformation type, ast.Node node, Element enclosing,
|
| [TypeInformation elementType, int length]) {
|
| - bool isTypedArray = compiler.typedDataClass != null &&
|
| - classWorld.isInstantiated(compiler.typedDataClass) &&
|
| - type.type.satisfies(compiler.typedDataClass, classWorld);
|
| + ClassElement typedDataClass = compiler.commonElements.typedDataClass;
|
| + bool isTypedArray = typedDataClass != null &&
|
| + classWorld.isInstantiated(typedDataClass) &&
|
| + type.type.satisfies(typedDataClass, classWorld);
|
| bool isConst = (type.type == compiler.typesTask.constListType);
|
| bool isFixed = (type.type == compiler.typesTask.fixedListType) ||
|
| isConst ||
|
|
|