- changed option statistics to opt_stat
[cacao.git] / src / cacao / cacao.h
1 /* main.c - main header, contains global variables
2
3    Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
4    Institut f. Computersprachen, TU Wien
5    R. Grafl, A. Krall, C. Kruegel, C. Oates, R. Obermaisser, M. Probst,
6    S. Ring, E. Steiner, C. Thalinger, D. Thuernbeck, P. Tomsich,
7    J. Wenninger
8
9    This file is part of CACAO.
10
11    This program is free software; you can redistribute it and/or
12    modify it under the terms of the GNU General Public License as
13    published by the Free Software Foundation; either version 2, or (at
14    your option) any later version.
15
16    This program is distributed in the hope that it will be useful, but
17    WITHOUT ANY WARRANTY; without even the implied warranty of
18    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
19    General Public License for more details.
20
21    You should have received a copy of the GNU General Public License
22    along with this program; if not, write to the Free Software
23    Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
24    02111-1307, USA.
25
26    Contact: cacao@complang.tuwien.ac.at
27
28    Authors: Christian Thalinger
29
30    $Id: cacao.h 1094 2004-05-27 15:52:27Z twisti $
31
32 */
33
34
35 #ifndef _MAIN_H
36 #define _MAIN_H
37
38 #include "global.h"
39
40 /* global variables */
41
42 extern bool compileall;
43 extern bool verbose;
44 extern bool runverbose;
45 extern bool verboseexception;
46 extern bool collectverbose;
47
48 extern bool loadverbose;         /* Print debug messages during loading */
49 extern bool linkverbose;
50 extern bool initverbose;         /* Log class initialization */ 
51
52 extern bool opt_rt;
53 extern bool opt_xta;
54 extern bool opt_vta;
55
56 extern bool opt_liberalutf;      /* Don't check overlong UTF-8 sequences */
57
58 extern bool showmethods;
59 extern bool showconstantpool;
60 extern bool showutf;
61
62 extern bool compileverbose;
63 extern bool showstack;
64 extern bool showdisassemble;
65 extern bool showddatasegment;
66 extern bool showintermediate;
67
68 extern bool useinlining;
69 extern bool inlinevirtuals;
70 extern bool inlineexceptions;
71 extern bool inlineparamopt;
72 extern bool inlineoutsiders;
73
74 extern bool checkbounds;
75 extern bool checknull;
76 extern bool opt_noieee;
77 extern bool checksync;
78 extern bool opt_loops;
79
80 extern bool makeinitializations;
81
82 extern bool getloadingtime;
83 extern s8 loadingtime;
84
85 extern bool getcompilingtime;
86 extern s8 compilingtime;
87
88 extern int has_ext_instr_set;
89
90 extern bool opt_stat;
91
92 extern bool opt_eager;
93
94 extern char *mainstring;    /* class.method with main method */
95
96 #endif /* _MAIN_H */
97
98
99 /*
100  * These are local overrides for various environment variables in Emacs.
101  * Please do not remove this and leave it at the end of the file, where
102  * Emacs will automagically detect them.
103  * ---------------------------------------------------------------------
104  * Local variables:
105  * mode: c
106  * indent-tabs-mode: t
107  * c-basic-offset: 4
108  * tab-width: 4
109  * End:
110  */