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

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: Review comments 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
Index: runtime/bin/builtin_in.cc
diff --git a/runtime/bin/builtin_in.cc b/runtime/bin/builtin_in.cc
index edba721ca2b27bcea5c08e0c314efbd72f92f9a8..4596426ea10dab9421c8953095efa2e7ac2319f0 100644
--- a/runtime/bin/builtin_in.cc
+++ b/runtime/bin/builtin_in.cc
@@ -24,6 +24,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(Runtime_Exit, 1) \
V(Directory_List, 7) \
V(Directory_Exists, 2) \
V(Directory_Create, 2) \

Powered by Google App Engine
This is Rietveld 408576698