Index: runtime/bin/gen_snapshot.cc |
diff --git a/runtime/bin/gen_snapshot.cc b/runtime/bin/gen_snapshot.cc |
index dfd096436792f09c9e6a53bb07c2fa924d258992..bbf25a4458c138e317242cb4792c170ebe4b33f1 100644 |
--- a/runtime/bin/gen_snapshot.cc |
+++ b/runtime/bin/gen_snapshot.cc |
@@ -37,8 +37,6 @@ static const int kApiErrorExitCode = 253; |
static const int kCompilationErrorExitCode = 254; |
// Exit code indicating an unhandled error that is not a compilation error. |
static const int kErrorExitCode = 255; |
-// Exit code indicating a vm restart request. Never returned to the user. |
-static const int kRestartRequestExitCode = 1000; |
#define CHECK_RESULT(result) \ |
if (Dart_IsError(result)) { \ |
@@ -48,8 +46,6 @@ static const int kRestartRequestExitCode = 1000; |
exit_code = kCompilationErrorExitCode; \ |
} else if (Dart_IsApiError(result)) { \ |
exit_code = kApiErrorExitCode; \ |
- } else if (Dart_IsVMRestartRequest(result)) { \ |
- exit_code = kRestartRequestExitCode; \ |
} else { \ |
exit_code = kErrorExitCode; \ |
} \ |