1 /* src/vm/options.h - define global options extern
3 Copyright (C) 1996-2005, 2006 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 Contact: cacao@cacaojvm.org
27 Authors: Christian Thalinger
31 $Id: options.h 5922 2006-11-05 21:43:09Z twisti $
43 #include "native/jni.h"
44 #include "vm/global.h"
47 /* reserved option numbers ****************************************************/
49 /* define these negative since the other options are an enum */
56 typedef struct opt_struct opt_struct;
65 /* global variables ***********************************************************/
73 extern bool opt_intrp;
78 extern s4 opt_heapmaxsize;
79 extern s4 opt_heapstartsize;
80 extern s4 opt_stacksize;
82 extern bool opt_verbose;
83 extern bool opt_debugcolor;
84 extern bool compileall;
86 extern bool loadverbose; /* Print debug messages during loading */
87 extern bool linkverbose;
88 extern bool initverbose; /* Log class initialization */
90 extern bool opt_verboseclass;
91 extern bool opt_verbosegc;
92 extern bool opt_verbosejni;
93 extern bool opt_verbosecall;
94 extern bool opt_verboseexception;
96 extern bool showmethods;
97 extern bool showconstantpool;
100 extern char *opt_method;
101 extern char *opt_signature;
103 extern bool compileverbose;
104 extern bool showstack;
106 extern bool opt_showdisassemble;
107 extern bool opt_shownops;
108 extern bool opt_showddatasegment;
109 extern bool opt_showintermediate;
110 extern bool opt_showexceptionstubs;
111 extern bool opt_shownativestub;
113 extern bool useinlining;
114 extern bool inlinevirtuals;
115 extern bool inlineexceptions;
116 extern bool inlineparamopt;
117 extern bool inlineoutsiders;
119 extern bool checkbounds;
120 extern bool checknull;
121 extern bool opt_noieee;
122 extern bool checksync;
123 #if defined(ENABLE_LOOP)
124 extern bool opt_loops;
127 extern bool makeinitializations;
129 #if defined(ENABLE_STATISTICS)
130 extern bool opt_stat;
131 extern bool opt_getloadingtime;
132 extern bool opt_getcompilingtime;
134 #if defined(ENABLE_VERIFIER)
135 extern bool opt_verify;
137 extern bool opt_eager;
139 #if defined(ENABLE_PROFILING)
140 extern bool opt_prof;
141 extern bool opt_prof_bb;
145 /* optimization options *******************************************************/
147 #if defined(ENABLE_IFCONV)
148 extern bool opt_ifconv;
151 #if defined(ENABLE_LSRA) || defined(ENABLE_SSA)
152 extern bool opt_lsra;
156 /* interpreter options ********************************************************/
158 #if defined(ENABLE_INTRP)
159 extern bool opt_no_dynamic;
160 extern bool opt_no_replication;
161 extern bool opt_no_quicksuper;
163 extern s4 opt_static_supers;
164 extern bool vm_debug;
168 /* function prototypes ********************************************************/
170 s4 options_get(opt_struct *opts, JavaVMInitArgs *vm_args);
172 #endif /* _OPTIONS_H */
176 * These are local overrides for various environment variables in Emacs.
177 * Please do not remove this and leave it at the end of the file, where
178 * Emacs will automagically detect them.
179 * ---------------------------------------------------------------------
182 * indent-tabs-mode: t