1 /* src/vm/jit/argument.hpp - argument passing from and to JIT methods
3 Copyright (C) 2007, 2008
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 _VM_JIT_ARGUMENT_HPP
27 #define _VM_JIT_ARGUMENT_HPP
33 #include "vm/global.h"
34 #include "vm/method.hpp"
37 /* function prototypes ********************************************************/
39 imm_union argument_jitarray_load(methoddesc *md, int32_t index,
40 uint64_t *arg_regs, uint64_t *stack);
41 void argument_jitarray_store(methoddesc *md, int32_t index,
42 uint64_t *arg_regs, uint64_t *stack,
45 imm_union argument_jitreturn_load(methoddesc *md, uint64_t *return_regs);
46 void argument_jitreturn_store(methoddesc *md, uint64_t *return_regs,
49 uint64_t *argument_vmarray_from_valist(methodinfo *m, java_handle_t *o,
51 uint64_t *argument_vmarray_from_jvalue(methodinfo *m, java_handle_t *o,
53 uint64_t *argument_vmarray_from_objectarray(methodinfo *m, java_handle_t *o,
54 java_handle_objectarray_t *params);
56 #endif // _VM_JIT_ARGUMENT_HPP
60 * These are local overrides for various environment variables in Emacs.
61 * Please do not remove this and leave it at the end of the file, where
62 * Emacs will automagically detect them.
63 * ---------------------------------------------------------------------
70 * vim:noexpandtab:sw=4:ts=4: