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.h"
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 ********************************************************/
63 void exceptiontable_create(jitdata *jd);
64 void exceptiontable_free(codeinfo *code);
67 void exceptiontable_print(codeinfo *code);
70 #endif /* _EXCEPTIONTABLE_H */
74 * These are local overrides for various environment variables in Emacs.
75 * Please do not remove this and leave it at the end of the file, where
76 * Emacs will automagically detect them.
77 * ---------------------------------------------------------------------
84 * vim:noexpandtab:sw=4:ts=4: