| Index: sdk/lib/_internal/compiler/implementation/ssa/bailout.dart
|
| ===================================================================
|
| --- sdk/lib/_internal/compiler/implementation/ssa/bailout.dart (revision 23325)
|
| +++ sdk/lib/_internal/compiler/implementation/ssa/bailout.dart (working copy)
|
| @@ -734,7 +734,10 @@
|
| }
|
|
|
| if (blocks.isEmpty) {
|
| - if (firstBailoutTarget == null) {
|
| + // If [currentBlockInformation] is not null, we are in the
|
| + // middle of a loop/labeled block and this is too complex to handle for
|
| + // now.
|
| + if (firstBailoutTarget == null && currentBlockInformation == null) {
|
| firstBailoutTarget = target;
|
| } else {
|
| hasComplexBailoutTargets = true;
|
|
|