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

Unified Diff: runtime/bin/builtin.dart

Issue 10879033: Move exit from the builtin library to dart:io. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 4 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
« no previous file with comments | « lib/compiler/implementation/lib/mock.dart ('k') | runtime/bin/process.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/builtin.dart
diff --git a/runtime/bin/builtin.dart b/runtime/bin/builtin.dart
index 80940135fba046a1a95550d940a357b277e863af..d7f5974f96f8ef78caf40374e8b8e9d4e5cad60a 100644
--- a/runtime/bin/builtin.dart
+++ b/runtime/bin/builtin.dart
@@ -9,15 +9,6 @@ void print(arg) {
_Logger._printString(arg.toString());
}
-void exit(int status) {
- if (status is !int) {
- throw new IllegalArgumentException("int status expected");
- }
- _exit(status);
-}
-
-_exit(int status) native "Exit";
-
class _Logger {
static void _printString(String s) native "Logger_PrintString";
}
« no previous file with comments | « lib/compiler/implementation/lib/mock.dart ('k') | runtime/bin/process.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698