| Index: lib/compiler/implementation/ssa/bailout.dart
|
| diff --git a/lib/compiler/implementation/ssa/bailout.dart b/lib/compiler/implementation/ssa/bailout.dart
|
| index af15533595027f7c8954204289fdef0036f01245..9e06f5964ae7c568a25da3f1d25cc866d8e0d2ef 100644
|
| --- a/lib/compiler/implementation/ssa/bailout.dart
|
| +++ b/lib/compiler/implementation/ssa/bailout.dart
|
| @@ -59,7 +59,7 @@ class Environment {
|
| loopMarkers.addAll(other.loopMarkers);
|
| }
|
|
|
| - bool isEmpty() => lives.isEmpty() && loopMarkers.isEmpty();
|
| + bool get isEmpty => lives.isEmpty && loopMarkers.isEmpty;
|
| }
|
|
|
|
|
| @@ -263,7 +263,7 @@ class SsaEnvironmentBuilder extends HBaseVisitor implements OptimizationPhase {
|
|
|
| void visitGraph(HGraph graph) {
|
| visitPostDominatorTree(graph);
|
| - if (!liveInstructions[graph.entry].isEmpty()) {
|
| + if (!liveInstructions[graph.entry].isEmpty) {
|
| compiler.internalError('Bailout environment computation',
|
| node: compiler.currentElement.parseNode(compiler));
|
| }
|
| @@ -417,7 +417,7 @@ class SsaBailoutPropagator extends HBaseVisitor {
|
| void visitGraph(HGraph graph) {
|
| subGraph = new SubGraph(graph.entry, graph.exit);
|
| visitBasicBlock(graph.entry);
|
| - if (!blocks.isEmpty()) {
|
| + if (!blocks.isEmpty) {
|
| compiler.internalError('Bailout propagation',
|
| node: compiler.currentElement.parseNode(compiler));
|
| }
|
| @@ -430,7 +430,7 @@ class SsaBailoutPropagator extends HBaseVisitor {
|
| if (block.isLoopHeader()) {
|
| blocks.addLast(block);
|
| } else if (block.isLabeledBlock()
|
| - && (blocks.isEmpty() || !identical(blocks.last(), block))) {
|
| + && (blocks.isEmpty || !identical(blocks.last(), block))) {
|
| HLabeledBlockInformation info = block.blockFlow.body;
|
| visitStatements(info.body);
|
| return;
|
| @@ -530,7 +530,7 @@ class SsaBailoutPropagator extends HBaseVisitor {
|
| if (inputLength > maxBailoutParameters) {
|
| maxBailoutParameters = inputLength;
|
| }
|
| - if (blocks.isEmpty()) {
|
| + if (blocks.isEmpty) {
|
| if (firstBailoutTarget == null) {
|
| firstBailoutTarget = target;
|
| } else {
|
|
|