| Index: pkg/compiler/lib/src/ssa/value_range_analyzer.dart
|
| diff --git a/pkg/compiler/lib/src/ssa/value_range_analyzer.dart b/pkg/compiler/lib/src/ssa/value_range_analyzer.dart
|
| index 67e861eb2d8eb7015107c12c98e5a0ab5f50bb08..2db8ae5b4328e64e2eeffa4c2064c6d4377b79f8 100644
|
| --- a/pkg/compiler/lib/src/ssa/value_range_analyzer.dart
|
| +++ b/pkg/compiler/lib/src/ssa/value_range_analyzer.dart
|
| @@ -602,18 +602,18 @@ class SsaValueRangeAnalyzer extends HBaseVisitor implements OptimizationPhase {
|
| final Map<HInstruction, Range> ranges = new Map<HInstruction, Range>();
|
|
|
| final Compiler compiler;
|
| + final ClosedWorld closedWorld;
|
| final ConstantSystem constantSystem;
|
| final ValueRangeInfo info;
|
| final SsaOptimizerTask optimizer;
|
|
|
| HGraph graph;
|
|
|
| - SsaValueRangeAnalyzer(this.compiler, constantSystem, this.optimizer)
|
| + SsaValueRangeAnalyzer(
|
| + this.compiler, this.closedWorld, constantSystem, this.optimizer)
|
| : info = new ValueRangeInfo(constantSystem),
|
| this.constantSystem = constantSystem;
|
|
|
| - ClosedWorld get closedWorld => compiler.closedWorld;
|
| -
|
| void visitGraph(HGraph graph) {
|
| this.graph = graph;
|
| visitDominatorTree(graph);
|
|
|