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 4833 2006-04-25 12:00:58Z edwin $
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 ***********************************************************/
71 extern bool opt_intrp;
76 extern s4 opt_stacksize;
77 extern bool opt_verbose;
78 extern bool compileall;
80 extern bool loadverbose; /* Print debug messages during loading */
81 extern bool linkverbose;
82 extern bool initverbose; /* Log class initialization */
84 extern bool opt_verboseclass;
85 extern bool opt_verbosegc;
86 extern bool opt_verbosejni;
87 extern bool opt_verbosecall;
88 extern bool opt_verboseexception;
90 extern bool showmethods;
91 extern bool showconstantpool;
94 extern char *opt_method;
95 extern char *opt_signature;
97 extern bool compileverbose;
98 extern bool showstack;
99 extern bool opt_showdisassemble;
100 extern bool opt_showddatasegment;
101 extern bool opt_showintermediate;
102 extern bool opt_showexceptionstubs;
103 extern bool opt_shownativestub;
105 extern bool useinlining;
106 extern bool inlinevirtuals;
107 extern bool inlineexceptions;
108 extern bool inlineparamopt;
109 extern bool inlineoutsiders;
111 extern bool checkbounds;
112 extern bool checknull;
113 extern bool opt_noieee;
114 extern bool checksync;
115 #if defined(ENABLE_LOOP)
116 extern bool opt_loops;
119 extern bool makeinitializations;
121 extern bool getloadingtime;
122 extern bool getcompilingtime;
124 extern bool opt_stat;
125 #if defined(ENABLE_VERIFIER)
126 extern bool opt_verify;
128 extern bool opt_eager;
130 extern bool opt_prof;
131 extern bool opt_prof_bb;
134 /* optimization options *******************************************************/
136 #if defined(ENABLE_IFCONV)
137 extern bool opt_ifconv;
140 #if defined(ENABLE_LSRA)
141 extern bool opt_lsra;
145 /* interpreter options ********************************************************/
147 #if defined(ENABLE_INTRP)
148 extern bool opt_no_dynamic;
149 extern bool opt_no_replication;
150 extern bool opt_no_quicksuper;
152 extern s4 opt_static_supers;
153 extern bool vm_debug;
157 /* function prototypes ********************************************************/
159 s4 options_get(opt_struct *opts, JavaVMInitArgs *vm_args);
160 JavaVMInitArgs *options_prepare(int argc, char **argv);
162 #endif /* _OPTIONS_H */
166 * These are local overrides for various environment variables in Emacs.
167 * Please do not remove this and leave it at the end of the file, where
168 * Emacs will automagically detect them.
169 * ---------------------------------------------------------------------
172 * indent-tabs-mode: t