1 /* vm/options.h - define global options extern
3 Copyright (C) 1996-2005 R. Grafl, A. Krall, C. Kruegel, C. Oates,
4 R. Obermaisser, M. Platter, M. Probst, S. Ring, E. Steiner,
5 C. Thalinger, D. Thuernbeck, P. Tomsich, C. Ullrich, J. Wenninger,
6 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., 59 Temple Place - Suite 330, Boston, MA
25 Contact: cacao@complang.tuwien.ac.at
27 Authors: Christian Thalinger
29 $Id: options.h 2780 2005-06-22 10:51:03Z twisti $
38 #include "vm/global.h"
41 /* reserved option numbers ****************************************************/
48 typedef struct opt_struct opt_struct;
57 /* global variables ***********************************************************/
59 extern bool opt_verbose;
60 extern bool compileall;
61 extern bool runverbose;
62 extern bool verboseexception;
63 extern bool collectverbose;
65 extern bool loadverbose; /* Print debug messages during loading */
66 extern bool linkverbose;
67 extern bool initverbose; /* Log class initialization */
73 extern bool opt_liberalutf; /* Don't check overlong UTF-8 sequences */
75 extern bool showmethods;
76 extern bool showconstantpool;
79 extern bool compileverbose;
80 extern bool showstack;
81 extern bool showdisassemble;
82 extern bool showddatasegment;
83 extern bool showintermediate;
84 extern bool opt_shownativestub;
86 /*#undef INAFTERMAIN*/ /*use to inline system methods before main is called*/
87 #define INAFTERMAIN T /*use to turn off inlining before main called */
88 extern bool useinliningm;
89 extern bool useinlining;
90 extern bool inlinevirtuals;
91 extern bool inlineexceptions;
92 extern bool inlineparamopt;
93 extern bool inlineoutsiders;
95 extern bool checkbounds;
96 extern bool checknull;
97 extern bool opt_noieee;
98 extern bool checksync;
99 extern bool opt_loops;
101 extern bool makeinitializations;
103 extern bool getloadingtime;
104 extern bool getcompilingtime;
106 extern int has_ext_instr_set;
108 extern bool opt_stat;
109 extern bool opt_verify;
110 extern bool opt_eager;
113 extern bool opt_lsra;
117 extern char *opt_arg;
120 /* function prototypes ********************************************************/
122 int get_opt(int argc, char **argv, opt_struct *opts);
125 #endif /* _OPTIONS_H */
129 * These are local overrides for various environment variables in Emacs.
130 * Please do not remove this and leave it at the end of the file, where
131 * Emacs will automagically detect them.
132 * ---------------------------------------------------------------------
135 * indent-tabs-mode: t