1 /* src/vm/jit/stubs.hpp - JIT stubs
3 Copyright (C) 2008 Theobroma Systems Ltd.
5 This file is part of CACAO.
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.
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.
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
32 #include "vm/method.hpp"
34 #include "vm/jit/code.hpp"
40 * Class for compiler stub generation.
44 static inline int get_code_size();
46 static void* generate(methodinfo* m);
47 static void remove(void* stub);
52 * Class for builtin stub generation.
56 static void generate(methodinfo* m, builtintable_entry* bte);
61 * Class for native stub generation.
65 static codeinfo* generate(methodinfo* m, functionptr f);
66 static void remove(void* stub);
70 // Include machine dependent implementation.
71 #include "md-stubs.hpp"
79 * These are local overrides for various environment variables in Emacs.
80 * Please do not remove this and leave it at the end of the file, where
81 * Emacs will automagically detect them.
82 * ---------------------------------------------------------------------
89 * vim:noexpandtab:sw=4:ts=4: