CACAO
methodtree.hpp
Go to the documentation of this file.
1 /* src/vm/jit/methodtree.hpp - AVL tree of methods
2 
3  Copyright (C) 2008
4  CACAOVM - Verein zur Foerderung der freien virtuellen Maschine CACAO
5 
6  This file is part of CACAO.
7 
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.
12 
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.
17 
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
21  02110-1301, USA.
22 
23 */
24 
25 
26 #ifndef METHODTREE_HPP_
27 #define METHODTREE_HPP_ 1
28 
29 /* function prototypes ********************************************************/
30 
31 // functions need to be accessible from assembler
32 extern "C" {
33 
34 void methodtree_init(void);
35 void methodtree_insert(void *startpc, void *endpc);
36 void *methodtree_find(void *pc);
37 void *methodtree_find_nocheck(void *pc);
38 
39 } // extern "C"
40 
41 #endif // METHODTREE_HPP_
42 
43 
44 /*
45  * These are local overrides for various environment variables in Emacs.
46  * Please do not remove this and leave it at the end of the file, where
47  * Emacs will automagically detect them.
48  * ---------------------------------------------------------------------
49  * Local variables:
50  * mode: c++
51  * indent-tabs-mode: t
52  * c-basic-offset: 4
53  * tab-width: 4
54  * End:
55  * vim:noexpandtab:sw=4:ts=4:
56  */
#define methodtree_find
Definition: md-asm.hpp:101
void methodtree_init(void)
Definition: methodtree.cpp:64
void * methodtree_find_nocheck(void *pc)
Definition: methodtree.cpp:223
#define pc
Definition: md-asm.hpp:56
void methodtree_insert(void *startpc, void *endpc)
Definition: methodtree.cpp:148