CACAO
argument.hpp
Go to the documentation of this file.
1 /* src/vm/jit/argument.hpp - argument passing from and to JIT methods
2 
3  Copyright (C) 2007, 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 _VM_JIT_ARGUMENT_HPP
27 #define _VM_JIT_ARGUMENT_HPP
28 
29 #include "config.h"
30 
31 #include <stdint.h>
32 
33 #include "vm/global.hpp"
34 #include "vm/method.hpp"
35 
36 
37 /* function prototypes ********************************************************/
38 
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,
43  imm_union param);
44 
45 imm_union argument_jitreturn_load(methoddesc *md, uint64_t *return_regs);
46 void argument_jitreturn_store(methoddesc *md, uint64_t *return_regs,
47  imm_union ret);
48 
50  va_list ap);
52  const jvalue *args);
55 
56 #endif // _VM_JIT_ARGUMENT_HPP
57 
58 
59 /*
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  * ---------------------------------------------------------------------
64  * Local variables:
65  * mode: c++
66  * indent-tabs-mode: t
67  * c-basic-offset: 4
68  * tab-width: 4
69  * End:
70  * vim:noexpandtab:sw=4:ts=4:
71  */
std::size_t index
imm_union argument_jitreturn_load(methoddesc *md, uint64_t *return_regs)
Definition: argument.cpp:153
imm_union argument_jitarray_load(methoddesc *md, int32_t index, uint64_t *arg_regs, uint64_t *stack)
Definition: argument.cpp:57
uint64_t * argument_vmarray_from_jvalue(methodinfo *m, java_handle_t *o, const jvalue *args)
Definition: argument.cpp:470
void argument_jitarray_store(methoddesc *md, int32_t index, uint64_t *arg_regs, uint64_t *stack, imm_union param)
Definition: argument.cpp:120
uint64_t * argument_vmarray_from_valist(methodinfo *m, java_handle_t *o, va_list ap)
Definition: argument.cpp:384
alloc::list< PassInfo::IDTy >::type & stack
void argument_jitreturn_store(methoddesc *md, uint64_t *return_regs, imm_union ret)
Definition: argument.cpp:191
uint64_t * argument_vmarray_from_objectarray(methodinfo *m, java_handle_t *o, java_handle_objectarray_t *params)
Definition: argument.cpp:548