1 /* src/vmcore/options.h - define global options extern
3 Copyright (C) 1996-2005, 2006, 2007 R. Grafl, A. Krall, C. Kruegel,
4 C. Oates, R. Obermaisser, M. Platter, M. Probst, S. Ring,
5 E. Steiner, C. Thalinger, D. Thuernbeck, P. Tomsich, C. Ullrich,
6 J. Wenninger, Institut f. Computersprachen - TU Wien
8 This file is part of CACAO.
10 This program is free software; you can redistribute it and/or
11 modify it under the terms of the GNU General Public License as
12 published by the Free Software Foundation; either version 2, or (at
13 your option) any later version.
15 This program is distributed in the hope that it will be useful, but
16 WITHOUT ANY WARRANTY; without even the implied warranty of
17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 General Public License for more details.
20 You should have received a copy of the GNU General Public License
21 along with this program; if not, write to the Free Software
22 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
25 $Id: options.h 7338 2007-02-13 00:17:22Z twisti $
37 #include "native/jni.h"
39 #include "vm/global.h"
42 /* reserved option numbers ****************************************************/
44 /* define these negative since the other options are an enum */
51 typedef struct opt_struct opt_struct;
60 /* global variables ***********************************************************/
68 extern bool opt_intrp;
73 extern s4 opt_heapmaxsize;
74 extern s4 opt_heapstartsize;
75 extern s4 opt_stacksize;
77 extern bool opt_verbose;
78 extern bool opt_debugcolor;
79 extern bool compileall;
81 extern bool loadverbose; /* Print debug messages during loading */
82 extern bool linkverbose;
83 extern bool initverbose; /* Log class initialization */
85 extern bool opt_verboseclass;
86 extern bool opt_verbosegc;
87 extern bool opt_verbosejni;
88 extern bool opt_verbosecall;
89 extern bool opt_verboseexception;
90 extern bool opt_verbosememory;
92 extern bool showmethods;
93 extern bool showconstantpool;
96 extern char *opt_method;
97 extern char *opt_signature;
99 extern bool compileverbose;
100 extern bool showstack;
102 extern bool opt_showdisassemble;
103 extern bool opt_shownops;
104 extern bool opt_showddatasegment;
105 extern bool opt_showintermediate;
106 extern bool opt_showexceptionstubs;
107 extern bool opt_shownativestub;
109 extern bool useinlining;
110 extern bool inlinevirtuals;
111 extern bool inlineexceptions;
112 extern bool inlineparamopt;
113 extern bool inlineoutsiders;
115 extern bool checkbounds;
116 extern bool checknull;
117 extern bool opt_noieee;
118 extern bool checksync;
119 #if defined(ENABLE_LOOP)
120 extern bool opt_loops;
123 extern bool makeinitializations;
125 #if defined(ENABLE_STATISTICS)
126 extern bool opt_stat;
127 extern bool opt_getloadingtime;
128 extern bool opt_getcompilingtime;
130 #if defined(ENABLE_VERIFIER)
131 extern bool opt_verify;
133 extern bool opt_eager;
135 #if defined(ENABLE_PROFILING)
136 extern bool opt_prof;
137 extern bool opt_prof_bb;
141 /* optimization options *******************************************************/
143 #if defined(ENABLE_IFCONV)
144 extern bool opt_ifconv;
147 #if defined(ENABLE_LSRA) || defined(ENABLE_SSA)
148 extern bool opt_lsra;
152 /* interpreter options ********************************************************/
154 #if defined(ENABLE_INTRP)
155 extern bool opt_no_dynamic;
156 extern bool opt_no_replication;
157 extern bool opt_no_quicksuper;
159 extern s4 opt_static_supers;
160 extern bool vm_debug;
164 /* function prototypes ********************************************************/
166 s4 options_get(opt_struct *opts, JavaVMInitArgs *vm_args);
168 #endif /* _OPTIONS_H */
172 * These are local overrides for various environment variables in Emacs.
173 * Please do not remove this and leave it at the end of the file, where
174 * Emacs will automagically detect them.
175 * ---------------------------------------------------------------------
178 * indent-tabs-mode: t