Merged trunk and subtype.
[cacao.git] / src / vm / jit / arm / md-stubs.hpp
1 /* src/vm/jit/arm/md-stubs.hpp - ARM JIT stubs
2
3    Copyright (C) 2008 Theobroma Systems Ltd.
4
5    This file is part of CACAO.
6
7    This program is free software; you can redistribute it and/or
8    modify it under the terms of the GNU General Public License as
9    published by the Free Software Foundation; either version 2, or (at
10    your option) any later version.
11
12    This program is distributed in the hope that it will be useful, but
13    WITHOUT ANY WARRANTY; without even the implied warranty of
14    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15    General Public License for more details.
16
17    You should have received a copy of the GNU General Public License
18    along with this program; if not, write to the Free Software
19    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
20    02110-1301, USA.
21
22 */
23
24
25 #ifndef _MD_STUBS_HPP
26 #define _MD_STUBS_HPP
27
28 #include "config.h"
29
30
31 /**
32  * Return the code size of a compiler on an ARM architecture.
33  *
34  * @return Code size in bytes.
35  */
36 int CompilerStub::get_code_size()
37 {
38         return 2 * 4;
39 }
40
41 #endif // _MD_STUBS_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  */