Moved unused macro from .h to _t.h
authorGötz Lindenmaier <goetz@ipd.info.uni-karlsruhe.de>
Fri, 27 Sep 2002 07:50:19 +0000 (07:50 +0000)
committerGötz Lindenmaier <goetz@ipd.info.uni-karlsruhe.de>
Fri, 27 Sep 2002 07:50:19 +0000 (07:50 +0000)
Added ir/debug to search path

[r498]

ir/tv/Makefile.in
ir/tv/tv.h
ir/tv/tv_t.h

index c971b9b..788c50e 100644 (file)
@@ -19,7 +19,7 @@ SOURCES += Makefile.in ieee754.h tv.c tv_t.h
 include $(topdir)/MakeRules
 
 CPPFLAGS += -I$(top_srcdir)/ir/common -I$(top_srcdir)/ir/tr -I$(top_srcdir)/ir/adt \
-               -I$(top_srcdir)/ir/ident -I$(top_srcdir)/ir/ir
+           -I$(top_srcdir)/ir/ident -I$(top_srcdir)/ir/ir -I$(top_srcdir)/ir/debug
 
 include $(top_srcdir)/MakeTargets
 
index 5098722..14cecd5 100644 (file)
@@ -39,8 +39,8 @@ Discussion of new interface, proposals by Prof. Waite:
 
 */
 
-#ifndef _TV_H
-#define _TV_H
+#ifndef _TV_H_
+#define _TV_H_
 
 # include "irmode.h"
 # include "entity.h"
@@ -194,19 +194,6 @@ bool     tv_val_b (tarval *tv);
 tarval_B tv_val_B (tarval *tv);
 tarval_s tv_val_s (tarval *tv);
 
-#ifdef NDEBUG
-#define TARVAL_VRFY(val) ((void)0)
-#else
-#define TARVAL_VRFY(val) _tarval_vrfy ((val))
-extern void _tarval_vrfy (const tarval *);
-#endif
-
-#ifdef STATS
-void tarval_stats (void);
-#else
-#define tarval_stats() ((void)0)
-#endif
-
 ir_mode *get_tv_mode (tarval *tv);
 /* Returns the entity if the tv is a pointer to an entity, else
    returns NULL; */
@@ -214,4 +201,4 @@ entity *get_tv_entity(tarval *tv);
 
 /* Returns 0 if tv is positive, else > 0. @@@ not tested! */
 int tv_is_negative(tarval *a);
-#endif
+#endif  /* _TV_H_ */
index 6a9a92d..4c3dc50 100644 (file)
@@ -3,8 +3,8 @@
 
 /* $Id$ */
 
-#ifndef _TV_T_H
-#define _TV_T_H
+#ifndef _TV_T_H_
+#define _TV_T_H_
 
 # include "tv.h"
 # include "misc.h"
 int tarval_print (XP_PAR1, const xprintf_info *, XP_PARN);
 
 
+#ifdef NDEBUG
+#define TARVAL_VRFY(val) ((void)0)
+#else
+#define TARVAL_VRFY(val) _tarval_vrfy ((val))
+extern void _tarval_vrfy (const tarval *);
 #endif
+
+#ifdef STATS
+void tarval_stats (void);
+#else
+#define tarval_stats() ((void)0)
+#endif
+
+#endif /* _TV_T_H_ */