Chromium Code Reviews| Index: sdk/lib/_internal/compiler/implementation/ssa/value_range_analyzer.dart |
| diff --git a/sdk/lib/_internal/compiler/implementation/ssa/value_range_analyzer.dart b/sdk/lib/_internal/compiler/implementation/ssa/value_range_analyzer.dart |
| index ed6852e719f9d405b8f3bfe74f5b819aff98c82b..bdaa18336c06ba84fa9d8c693ed417c73f57c7f3 100644 |
| --- a/sdk/lib/_internal/compiler/implementation/ssa/value_range_analyzer.dart |
| +++ b/sdk/lib/_internal/compiler/implementation/ssa/value_range_analyzer.dart |
| @@ -610,6 +610,8 @@ class SsaValueRangeAnalyzer extends HBaseVisitor implements OptimizationPhase { |
| // that the graph does not get polluted with these instructions |
| // only necessary for this phase. |
| removeRangeConversion(); |
| + // TODO(herhut): Find a better way to pass around ranges |
| + (compiler.backend as JavaScriptBackend).optimizer.ranges = ranges; |
|
karlklose
2014/03/12 14:43:45
Do you want the explicit type check here?
Conside
herhut
2014/03/13 13:27:45
Done.
|
| } |
| void removeRangeConversion() { |