| Index: sdk/lib/_internal/compiler/implementation/inferrer/container_tracer.dart
|
| diff --git a/sdk/lib/_internal/compiler/implementation/inferrer/container_tracer.dart b/sdk/lib/_internal/compiler/implementation/inferrer/container_tracer.dart
|
| index 2325cd90cbbe900853c2db5a4bd0f34f5e10a907..c6d0b49eeeb32b64dfdcc383eb85f1faed4bae4d 100644
|
| --- a/sdk/lib/_internal/compiler/implementation/inferrer/container_tracer.dart
|
| +++ b/sdk/lib/_internal/compiler/implementation/inferrer/container_tracer.dart
|
| @@ -133,7 +133,7 @@ class ContainerTracerVisitor implements TypeInformationVisitor {
|
|
|
| // The set of [TypeInformation] where the traced container could
|
| // flow in, and operations done on them.
|
| - final Set<TypeInformation> allUsers = new Set<TypeInformation>();
|
| + final Setlet<TypeInformation> allUsers = new Setlet<TypeInformation>();
|
|
|
| // The list of found assignments to the container.
|
| final List<TypeInformation> assignments = <TypeInformation>[];
|
| @@ -142,14 +142,14 @@ class ContainerTracerVisitor implements TypeInformationVisitor {
|
| bool continueAnalyzing = true;
|
|
|
| static const int MAX_ANALYSIS_COUNT = 11;
|
| - final Set<Element> analyzedElements = new Set<Element>();
|
| + final Setlet<Element> analyzedElements = new Setlet<Element>();
|
|
|
| ContainerTracerVisitor(this.container, inferrer)
|
| : this.inferrer = inferrer, this.compiler = inferrer.compiler;
|
|
|
| void run() {
|
| // Add the assignments found at allocation site.
|
| - assignments.addAll(container.elementType.assignments);
|
| + container.elementType.assignments.forEach((each) => assignments.add(each));
|
|
|
| // Collect the [TypeInformation] where the container can flow in,
|
| // as well as the operations done on all these [TypeInformation]s.
|
|
|