* opt_stacksize, opt_static_supers: Added.
authortwisti <none@none>
Wed, 21 Sep 2005 14:55:34 +0000 (14:55 +0000)
committertwisti <none@none>
Wed, 21 Sep 2005 14:55:34 +0000 (14:55 +0000)
src/vm/options.c
src/vm/options.h

index de928fd3475b9631d4b915df3098ccb9fd99d126..1d96922d74fbf3111b0ff4a6fadc6bb497d64573 100644 (file)
@@ -28,7 +28,7 @@
 
    Changes:
 
-   $Id: options.c 3152 2005-09-05 21:39:50Z twisti $
+   $Id: options.c 3243 2005-09-21 14:55:34Z twisti $
 
 */
 
 #include <string.h>
 
 #include "config.h"
-#include "types.h"
+#include "vm/types.h"
 
 #include "vm/options.h"
 
 
-/* command line option */
+/* command line option ********************************************************/
 
-bool vm_debug = false;
+s4   opt_ind = 1;               /* index of processed arguments               */
+char *opt_arg;                  /* this one exports the option argument       */
 
 #if defined(ENABLE_JIT)
 bool opt_jit = true;            /* JIT mode execution (default)               */
@@ -53,6 +54,8 @@ bool opt_jit = false;           /* JIT mode execution                         */
 bool opt_intrp = true;          /* interpreter mode execution (default)       */
 #endif
 
+s4   opt_stacksize = 0;         /* thread stack size                          */
+
 bool opt_verbose = false;
 bool compileall = false;
 bool runverbose = false;        /* trace all method invocation                */
@@ -108,8 +111,9 @@ bool opt_eager = false;
 #ifdef LSRA
 bool opt_lsra = false;
 #endif
-int opt_ind = 1;               /* index of processed arguments               */
-char *opt_arg;                 /* this one exports the option argument       */
+
+s4 opt_static_supers = 0x7fffffff;
+bool vm_debug = false;          /* XXX this should be called `opt_trace'      */
 
 
 /* get_opt *********************************************************************
index 97b34605aa5f2994613863f30dee5d6dcd619f58..1ad128c10263cf1860c0acbe6c626336609c1e63 100644 (file)
@@ -28,7 +28,7 @@
 
    Changes:
 
-   $Id: options.h 3152 2005-09-05 21:39:50Z twisti $
+   $Id: options.h 3243 2005-09-21 14:55:34Z twisti $
 
 */
 
@@ -58,11 +58,13 @@ struct opt_struct {
 
 /* global variables ***********************************************************/
 
-extern bool vm_debug;
+extern s4    opt_ind;
+extern char *opt_arg;
 
 extern bool opt_jit;
 extern bool opt_intrp;
 
+extern s4   opt_stacksize;
 extern bool opt_verbose;
 extern bool compileall;
 extern bool runverbose;
@@ -122,8 +124,8 @@ extern bool opt_eager;
 extern bool opt_lsra;
 #endif
 
-extern int opt_ind;
-extern char *opt_arg;
+extern s4 opt_static_supers;
+extern bool vm_debug;
 
 
 /* function prototypes ********************************************************/