| Index: sdk/lib/_internal/compiler/implementation/compiler.dart
|
| diff --git a/sdk/lib/_internal/compiler/implementation/compiler.dart b/sdk/lib/_internal/compiler/implementation/compiler.dart
|
| index ecfe995aef66d5278c11489646758458f43ec760..ef6d02db9a3e90926e8003589629689f09028a68 100644
|
| --- a/sdk/lib/_internal/compiler/implementation/compiler.dart
|
| +++ b/sdk/lib/_internal/compiler/implementation/compiler.dart
|
| @@ -513,7 +513,9 @@ abstract class Compiler implements DiagnosticListener {
|
| pleaseReportCrash(s, 'The compiler crashed: $message.');
|
| }
|
| hasCrashed = true;
|
| - throw new CompilerCancelledException('The compiler crashed.');
|
| + throw new CompilerCrashedException('The compiler crashed.');
|
| + } on CompilerCrashedException catch (ex) {
|
| + rethrow;
|
| } on CompilerCancelledException catch (ex) {
|
| rethrow;
|
| } on StackOverflowError catch (ex) {
|
| @@ -528,7 +530,7 @@ abstract class Compiler implements DiagnosticListener {
|
| } catch (doubleFault) {
|
| // Ignoring exceptions in exception handling.
|
| }
|
| - throw new CompilerCancelledException(message);
|
| + throw new CompilerCrashedException(message);
|
| } finally {
|
| _currentElement = old;
|
| }
|
|
|