953e340328011af4b228fd499da3b8c8f9a35a7a
[cacao.git] / src / vm / jit / x86_64 / asmoffsets.h
1 /* vm/jit/x86_64/asmoffsets.h - offsets for asmpart on x86_64
2
3    Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
4    R. Grafl, A. Krall, C. Kruegel, C. Oates, R. Obermaisser,
5    M. Probst, S. Ring, E. Steiner, C. Thalinger, D. Thuernbeck,
6    P. Tomsich, J. Wenninger
7
8    This file is part of CACAO.
9
10    This program is free software; you can redistribute it and/or
11    modify it under the terms of the GNU General Public License as
12    published by the Free Software Foundation; either version 2, or (at
13    your option) any later version.
14
15    This program is distributed in the hope that it will be useful, but
16    WITHOUT ANY WARRANTY; without even the implied warranty of
17    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
18    General Public License for more details.
19
20    You should have received a copy of the GNU General Public License
21    along with this program; if not, write to the Free Software
22    Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
23    02111-1307, USA.
24
25    Contact: cacao@complang.tuwien.ac.at
26
27    Authors: Andreas Krall
28             Christian Thalinger
29
30    Changes:
31
32    $Id: asmoffsets.h 1702 2004-12-06 14:32:00Z twisti $
33
34 */
35
36
37 #ifndef _ASMOFFSETS_H
38 #define _ASMOFFSETS_H
39
40 /* data segment offsets *******************************************************/
41
42 #define MethodPointer           -8
43 #define FrameSize               -12
44 #define IsSync                  -16
45 #define IsLeaf                  -20
46 #define IntSave                 -24
47 #define FltSave                 -28
48 #define LineNumberTableSize     0    /* XXX dummy entries */
49 #define LineNumberTableStart    0    /* XXX dummy entries */
50 #define ExTableSize             -32
51 #define ExTableStart            -32
52
53 #define ExEntrySize             -32
54 #define ExStartPC               -8
55 #define ExEndPC                 -16
56 #define ExHandlerPC             -24
57 #define ExCatchType             -32
58
59 #endif /* _ASMOFFSETS_H */
60
61
62 /*
63  * These are local overrides for various environment variables in Emacs.
64  * Please do not remove this and leave it at the end of the file, where
65  * Emacs will automagically detect them.
66  * ---------------------------------------------------------------------
67  * Local variables:
68  * mode: c
69  * indent-tabs-mode: t
70  * c-basic-offset: 4
71  * tab-width: 4
72  * End:
73  */