| Index: runtime/bin/main.cc
|
| diff --git a/runtime/bin/main.cc b/runtime/bin/main.cc
|
| index 61a64c6ca48f4e72d6503666c1663a16b509194a..1e3d8479388a0adc590117e74ac35d70d6f54bdb 100644
|
| --- a/runtime/bin/main.cc
|
| +++ b/runtime/bin/main.cc
|
| @@ -1688,7 +1688,7 @@ bool RunMainIsolate(const char* script_name,
|
| // Keep handling messages until the last active receive port is closed.
|
| result = Dart_RunLoop();
|
| // Generate an app snapshot after execution if specified.
|
| - if ((gen_snapshot_kind == kAppJIT)) {
|
| + if (gen_snapshot_kind == kAppJIT) {
|
| if (!Dart_IsCompilationError(result) &&
|
| !Dart_IsVMRestartRequest(result)) {
|
| GenerateAppSnapshot();
|
|
|