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 4396 2006-01-31 23:27:41Z twisti $
43 #include "vm/global.h"
46 /* reserved option numbers ****************************************************/
48 /* define these negative since the other options are an enum */
55 typedef struct opt_struct opt_struct;
64 /* global variables ***********************************************************/
70 extern bool opt_intrp;
72 extern s4 opt_stacksize;
73 extern bool opt_verbose;
74 extern bool compileall;
75 extern bool runverbose;
76 extern bool opt_verboseexception;
78 extern bool loadverbose; /* Print debug messages during loading */
79 extern bool linkverbose;
80 extern bool initverbose; /* Log class initialization */
82 extern bool opt_verboseclass;
83 extern bool opt_verbosegc;
84 extern bool opt_verbosejni;
86 extern bool opt_liberalutf; /* Don't check overlong UTF-8 sequences */
88 extern bool showmethods;
89 extern bool showconstantpool;
92 extern bool compileverbose;
93 extern bool showstack;
94 extern bool opt_showdisassemble;
95 extern bool opt_showddatasegment;
96 extern bool opt_showintermediate;
97 extern bool opt_showexceptionstubs;
98 extern bool opt_shownativestub;
100 extern bool useinlining;
101 extern bool inlinevirtuals;
102 extern bool inlineexceptions;
103 extern bool inlineparamopt;
104 extern bool inlineoutsiders;
106 extern bool checkbounds;
107 extern bool checknull;
108 extern bool opt_noieee;
109 extern bool checksync;
110 extern bool opt_loops;
112 extern bool makeinitializations;
114 extern bool getloadingtime;
115 extern bool getcompilingtime;
117 extern bool opt_stat;
118 extern bool opt_verify;
119 extern bool opt_eager;
121 extern bool opt_prof;
122 extern bool opt_prof_bb;
124 #if defined(ENABLE_LSRA)
125 extern bool opt_lsra;
129 /* interpreter options ********************************************************/
131 #if defined(ENABLE_INTRP)
132 extern bool opt_no_dynamic;
133 extern bool opt_no_replication;
134 extern bool opt_no_quicksuper;
136 extern s4 opt_static_supers;
137 extern bool vm_debug;
141 /* function prototypes ********************************************************/
143 int get_opt(int argc, char **argv, opt_struct *opts);
146 #endif /* _OPTIONS_H */
150 * These are local overrides for various environment variables in Emacs.
151 * Please do not remove this and leave it at the end of the file, where
152 * Emacs will automagically detect them.
153 * ---------------------------------------------------------------------
156 * indent-tabs-mode: t