Christian Ullrich
Michael Starzinger
- $Id: reg.inc 3617 2005-11-07 18:39:10Z twisti $
+ $Id: reg.inc 3969 2005-12-21 00:07:23Z twisti $
*/
while (bptr != NULL) {
if (bptr->flags >= BBREACHED) {
-#ifdef LSRA
+#if defined(ENABLE_LSRA)
if (!opt_lsra) {
#endif
/* check for memory moves from interface to BB instack */
dst = dst->prev;
}
-#ifdef LSRA
+#if defined(ENABLE_LSRA)
}
#endif
Christian Thalinger
Christian Ullrich
- $Id: stack.c 3953 2005-12-20 22:14:01Z twisti $
+ $Id: stack.c 3969 2005-12-21 00:07:23Z twisti $
*/
unresolved_method *um;
methoddesc *md;
-#ifdef LSRA
+#if defined(ENABLE_LSRA)
m->maxlifetimes = 0;
#endif
}
printf("\n");
-#ifdef LSRA
+#if defined(ENABLE_LSRA)
if (!opt_lsra) {
#endif
#if defined(ENABLE_INTRP)
#if defined(ENABLE_INTRP)
}
#endif
-#ifdef LSRA
+#if defined(ENABLE_LSRA)
}
#endif
Changes: Christian Ullrich
- $Id: stack.h 3736 2005-11-22 22:47:00Z christian $
+ $Id: stack.h 3969 2005-12-21 00:07:23Z twisti $
*/
#ifndef _STACK_H
#define _STACK_H
-#include "vm/global.h"
+#include "config.h"
+
+#include "vm/types.h"
+
#include "vm/exceptions.h"
+#include "vm/global.h"
#include "vm/jit/reg.h"
#define COUNT(cnt)
#endif
-#ifdef LSRA
-#define INC_LIFETIMES(a) { m->maxlifetimes += (a); }
+#if defined(ENABLE_LSRA)
+# define INC_LIFETIMES(a) { m->maxlifetimes += (a); }
#else
-#define INC_LIFETIMES(a)
+# define INC_LIFETIMES(a)
#endif
/* convenient abbreviations */
Changes: Christian Thalinger
- $Id: method.h 3743 2005-11-22 23:41:34Z twisti $
+ $Id: method.h 3969 2005-12-21 00:07:23Z twisti $
*/
s4 subRedefs;
s4 subRedefsUsed;
s4 nativelyoverloaded; /* used in header.c and only valid there */
- /* helper for lsra */
-#ifdef LSRA
- s4 maxlifetimes;
+
+#if defined(ENABLE_LSRA)
+ s4 maxlifetimes; /* helper for lsra */
#endif
};
Changes:
- $Id: options.c 3944 2005-12-13 01:31:14Z twisti $
+ $Id: options.c 3969 2005-12-21 00:07:23Z twisti $
*/
bool opt_stat = false;
bool opt_verify = true; /* true if classfiles should be verified */
bool opt_eager = false;
-#ifdef LSRA
+
+#if defined(ENABLE_LSRA)
bool opt_lsra = false;
#endif
Changes:
- $Id: options.h 3944 2005-12-13 01:31:14Z twisti $
+ $Id: options.h 3969 2005-12-21 00:07:23Z twisti $
*/
extern bool opt_verify;
extern bool opt_eager;
-#ifdef LSRA
+#if defined(ENABLE_LSRA)
extern bool opt_lsra;
#endif