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

Unified Diff: runtime/bin/builtin_in.cc

Issue 8317006: Added builtin native call to exit the running vm (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: More readable test for parameter type Created 9 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
« no previous file with comments | « runtime/bin/builtin.dart ('k') | samples/total/src/TotalRunner.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/builtin_in.cc
diff --git a/runtime/bin/builtin_in.cc b/runtime/bin/builtin_in.cc
index 28aac214d0eabcadfaa6ccdf31d598af6c409c5a..209828723a72fc9faef751bfa3591e522da6ff63 100644
--- a/runtime/bin/builtin_in.cc
+++ b/runtime/bin/builtin_in.cc
@@ -23,6 +23,7 @@ static const char Builtin_source_[] = {
// to inject additional functionality e.g: Logger, file I/O, socket I/O etc.
#define BUILTIN_NATIVE_LIST(V) \
V(Logger_PrintString, 1) \
+ V(Exit, 1) \
V(Directory_List, 7) \
V(Directory_Exists, 2) \
V(Directory_Create, 2) \
« no previous file with comments | « runtime/bin/builtin.dart ('k') | samples/total/src/TotalRunner.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698