| Index: pkg/compiler/lib/src/inferrer/type_system.dart
|
| diff --git a/pkg/compiler/lib/src/inferrer/type_system.dart b/pkg/compiler/lib/src/inferrer/type_system.dart
|
| index 2d66363c4b851ac426cea07ce52f992303f9188b..d329b77f372b287b2c7d3ad09eafd1aba1ea1aca 100644
|
| --- a/pkg/compiler/lib/src/inferrer/type_system.dart
|
| +++ b/pkg/compiler/lib/src/inferrer/type_system.dart
|
| @@ -39,8 +39,12 @@ class TypeSystem {
|
| final Map<TypeMask, TypeInformation> concreteTypes =
|
| new Map<TypeMask, TypeInformation>();
|
|
|
| - /// List of [TypeInformation]s allocated inside method bodies (calls,
|
| - /// narrowing, phis, and containers).
|
| + /// List of [TypeInformation]s for calls inside method bodies.
|
| + final List<CallSiteTypeInformation> allocatedCalls =
|
| + <CallSiteTypeInformation>[];
|
| +
|
| + /// List of [TypeInformation]s allocated inside method bodies (narrowing,
|
| + /// phis, and containers).
|
| final List<TypeInformation> allocatedTypes = <TypeInformation>[];
|
|
|
| Iterable<TypeInformation> get allTypes => [
|
| @@ -49,6 +53,7 @@ class TypeSystem {
|
| allocatedMaps.values,
|
| allocatedClosures,
|
| concreteTypes.values,
|
| + allocatedCalls,
|
| allocatedTypes
|
| ].expand((x) => x);
|
|
|
|
|