Line data Source code
1 : /* src/vm/jit/x86_64/md-stubs.hpp - x86_64 JIT stubs
2 :
3 : Copyright (C) 1996-2013
4 : CACAOVM - Verein zur Foerderung der freien virtuellen Maschine CACAO
5 : Copyright (C) 2008 Theobroma Systems Ltd.
6 :
7 : This file is part of CACAO.
8 :
9 : This program is free software; you can redistribute it and/or
10 : modify it under the terms of the GNU General Public License as
11 : published by the Free Software Foundation; either version 2, or (at
12 : your option) any later version.
13 :
14 : This program is distributed in the hope that it will be useful, but
15 : WITHOUT ANY WARRANTY; without even the implied warranty of
16 : MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 : General Public License for more details.
18 :
19 : You should have received a copy of the GNU General Public License
20 : along with this program; if not, write to the Free Software
21 : Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
22 : 02110-1301, USA.
23 :
24 : */
25 :
26 :
27 : #ifndef MD_STUBS_HPP_
28 : #define MD_STUBS_HPP_ 1
29 :
30 : #include "config.h"
31 :
32 :
33 : /**
34 : * Return the code size of a compiler on a x86_64 architecture.
35 : *
36 : * @return Code size in bytes.
37 : */
38 845444 : int CompilerStub::get_code_size()
39 : {
40 845444 : return 8;
41 : }
42 :
43 : #endif // MD_STUBS_HPP_
44 :
45 :
46 : /*
47 : * These are local overrides for various environment variables in Emacs.
48 : * Please do not remove this and leave it at the end of the file, where
49 : * Emacs will automagically detect them.
50 : * ---------------------------------------------------------------------
51 : * Local variables:
52 : * mode: c++
53 : * indent-tabs-mode: t
54 : * c-basic-offset: 4
55 : * tab-width: 4
56 : * End:
57 : * vim:noexpandtab:sw=4:ts=4:
58 : */
|