* src/vm/options.h, src/vm/method.c, src/vm/jit/inline/inline.c,
[cacao.git] / src / vm / options.h
index f9782403cf3eb8ea52a4b1cc2e61598c2b8c1065..983083c8934cc67cf2d8cb3888cd2c6cf2124afe 100644 (file)
@@ -28,7 +28,7 @@
 
    Changes:
 
-   $Id: options.h 4833 2006-04-25 12:00:58Z edwin $
+   $Id: options.h 7228 2007-01-19 01:13:48Z edwin $
 
 */
 
@@ -67,14 +67,20 @@ struct opt_struct {
 extern s4    opt_index;
 extern char *opt_arg;
 
+extern bool opt_foo;
+
 extern bool opt_jit;
 extern bool opt_intrp;
 
 extern bool opt_jar;
 extern bool opt_run;
 
+extern s4   opt_heapmaxsize;
+extern s4   opt_heapstartsize;
 extern s4   opt_stacksize;
+
 extern bool opt_verbose;
+extern bool opt_debugcolor;
 extern bool compileall;
 
 extern bool loadverbose;         /* Print debug messages during loading */
@@ -96,18 +102,14 @@ extern char *opt_signature;
 
 extern bool compileverbose;
 extern bool showstack;
+
 extern bool opt_showdisassemble;
+extern bool opt_shownops;
 extern bool opt_showddatasegment;
 extern bool opt_showintermediate;
 extern bool opt_showexceptionstubs;
 extern bool opt_shownativestub;
 
-extern bool useinlining;
-extern bool inlinevirtuals;
-extern bool inlineexceptions;
-extern bool inlineparamopt;
-extern bool inlineoutsiders;
-
 extern bool checkbounds;
 extern bool checknull;
 extern bool opt_noieee;
@@ -118,17 +120,36 @@ extern bool opt_loops;
 
 extern bool makeinitializations;
 
-extern bool getloadingtime;
-extern bool getcompilingtime;
-
+#if defined(ENABLE_STATISTICS)
 extern bool opt_stat;
+extern bool opt_getloadingtime;
+extern bool opt_getcompilingtime;
+#endif
 #if defined(ENABLE_VERIFIER)
 extern bool opt_verify;
 #endif
 extern bool opt_eager;
 
+#if defined(ENABLE_PROFILING)
 extern bool opt_prof;
 extern bool opt_prof_bb;
+#endif
+
+/* inlining options ***********************************************************/
+
+#if defined(ENABLE_INLINING)
+extern bool opt_inlining;
+#if defined(ENABLE_INLINING_DEBUG) || !defined(NDEBUG)
+extern s4 opt_replace_verbose;
+extern s4 opt_inline_debug_min_size;
+extern s4 opt_inline_debug_max_size;
+extern s4 opt_inline_debug_end_counter;
+extern bool opt_inline_debug_all;
+#endif /* defined(ENABLE_INLINING_DEBUG) || !defined(NDEBUG) */
+#if !defined(NDEBUG)
+extern bool opt_inline_debug_log;
+#endif /* !defined(NDEBUG) */
+#endif /* defined(ENABLE_INLINING) */
 
 
 /* optimization options *******************************************************/
@@ -137,7 +158,7 @@ extern bool opt_prof_bb;
 extern bool opt_ifconv;
 #endif
 
-#if defined(ENABLE_LSRA)
+#if defined(ENABLE_LSRA) || defined(ENABLE_SSA)
 extern bool opt_lsra;
 #endif
 
@@ -157,7 +178,6 @@ extern bool vm_debug;
 /* function prototypes ********************************************************/
 
 s4 options_get(opt_struct *opts, JavaVMInitArgs *vm_args);
-JavaVMInitArgs *options_prepare(int argc, char **argv);
 
 #endif /* _OPTIONS_H */