| Index: pkg/compiler/lib/src/ssa/variable_allocator.dart
|
| diff --git a/pkg/compiler/lib/src/ssa/variable_allocator.dart b/pkg/compiler/lib/src/ssa/variable_allocator.dart
|
| index bd95f58b00f2735768f5dfbd517aa42d437fde5e..fb357050abae28ea942909fb4f3049d8d09ddaae 100644
|
| --- a/pkg/compiler/lib/src/ssa/variable_allocator.dart
|
| +++ b/pkg/compiler/lib/src/ssa/variable_allocator.dart
|
| @@ -209,10 +209,12 @@ class SsaLiveIntervalBuilder extends HBaseVisitor {
|
| : liveInstructions = new Map<HBasicBlock, LiveEnvironment>(),
|
| liveIntervals = new Map<HInstruction, LiveInterval>();
|
|
|
| + DiagnosticReporter get reporter => compiler.reporter;
|
| +
|
| void visitGraph(HGraph graph) {
|
| visitPostDominatorTree(graph);
|
| if (!liveInstructions[graph.entry].isEmpty) {
|
| - compiler.internalError(CURRENT_ELEMENT_SPANNABLE, 'LiveIntervalBuilder.');
|
| + reporter.internalError(CURRENT_ELEMENT_SPANNABLE, 'LiveIntervalBuilder.');
|
| }
|
| }
|
|
|
|
|