Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(678)

Unified Diff: runtime/bin/platform.h

Issue 1410293006: Use ExitProcess on Windows. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Add noreturn to Platform::Exit" Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: runtime/bin/platform.h
diff --git a/runtime/bin/platform.h b/runtime/bin/platform.h
index 3d3c0f3135c842a1b793b5017a0c556c94d1d69d..4d847e77d5a030cd711a4cf43a95f35a1c45e847 100644
--- a/runtime/bin/platform.h
+++ b/runtime/bin/platform.h
@@ -76,6 +76,8 @@ class Platform {
return argv_;
}
+ static DART_NORETURN void Exit(int exit_code);
+
private:
// The path to the executable.
static const char* executable_name_;
« no previous file with comments | « runtime/bin/main.cc ('k') | runtime/bin/platform_android.cc » ('j') | runtime/platform/globals.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698