1 /* src/vm/jit/exceptiontable.h - method exception table
4 CACAOVM - Verein zur Foerderung der freien virtuellen Maschine CACAO
6 This file is part of CACAO.
8 This program is free software; you can redistribute it and/or
9 modify it under the terms of the GNU General Public License as
10 published by the Free Software Foundation; either version 2, or (at
11 your option) any later version.
13 This program is distributed in the hope that it will be useful, but
14 WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with this program; if not, write to the Free Software
20 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
26 #ifndef _EXCEPTIONTABLE_H
27 #define _EXCEPTIONTABLE_H
29 /* forward typedefs ***********************************************************/
31 typedef struct exceptiontable_t exceptiontable_t;
32 typedef struct exceptiontable_entry_t exceptiontable_entry_t;
39 #include "vm/jit/code.hpp"
40 #include "vm/jit/jit.hpp"
43 /* exceptiontable_t ***********************************************************/
45 struct exceptiontable_t {
47 exceptiontable_entry_t *entries;
51 /* exceptiontable_entry_t *****************************************************/
53 struct exceptiontable_entry_t {
57 classref_or_classinfo catchtype;
61 /* function prototypes ********************************************************/
67 void exceptiontable_create(jitdata *jd);
68 void exceptiontable_free(codeinfo *code);
71 void exceptiontable_print(codeinfo *code);
78 #endif /* _EXCEPTIONTABLE_H */
82 * These are local overrides for various environment variables in Emacs.
83 * Please do not remove this and leave it at the end of the file, where
84 * Emacs will automagically detect them.
85 * ---------------------------------------------------------------------
92 * vim:noexpandtab:sw=4:ts=4: