1 /* src/vm/jit/optimizing/lifetimes.h - lifetimes header
3 Copyright (C) 2005, 2006, 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., 59 Temple Place - Suite 330, Boston, MA
29 #include "vm/jit/optimizing/dominators.h"
33 # define LT_DEBUG_CHECK
34 /* # define LT_DEBUG_VERBOSE */
38 # define _LT_CHECK_BOUNDS(i,l,h) assert( ((i) >= (l)) && ((i) < (h)));
39 # define _LT_ASSERT(a) assert((a));
41 # define _LT_CHECK_BOUNDS(i,l,h)
42 # define _LT_ASSERT(a)
50 typedef struct site *lt_iterator;
51 void lt_scanlifetimes(jitdata *, graphdata *, dominatordata *);
52 void lt_add_ss(struct lifetime *, stackelement_t *);
53 void lt_remove_use_site(struct lifetime *lt, int block, int iindex);
54 void lt_move_use_sites(struct lifetime *from, struct lifetime *to);
55 void lt_lifeness_analysis(jitdata *, graphdata *);
56 #endif /* _LIFETIMES_H */
59 * These are local overrides for various environment variables in Emacs.
60 * Please do not remove this and leave it at the end of the file, where
61 * Emacs will automagically detect them.
62 * ---------------------------------------------------------------------