no strange stuff for including alloca anymore, use xmalloc.h
authorMatthias Braun <matze@braunis.de>
Mon, 2 Apr 2007 17:35:32 +0000 (17:35 +0000)
committerMatthias Braun <matze@braunis.de>
Mon, 2 Apr 2007 17:35:32 +0000 (17:35 +0000)
[r12646]

ir/be/bearch.c
ir/be/bechordal.c
ir/be/becopyheur.c
ir/be/becopyilp_t.h
ir/be/becopyopt.c
ir/be/beifg.c
ir/be/beirgmod.c
ir/be/belower.c
ir/be/beraextern.c
ir/be/bespillbelady.c
ir/be/bessadestrsimple.c

index 101c6e4..8a104eb 100644 (file)
@@ -9,19 +9,12 @@
 #include "config.h"
 #endif
 
-#ifdef HAVE_ALLOCA_H
-#include <alloca.h>
-#endif
-
-#ifdef HAVE_MALLOC_H
-#include <malloc.h>
-#endif
-
 #include <string.h>
 
 #include "bearch.h"
 #include "ircons_t.h"
 #include "irnode_t.h"
+#include "xmalloc.h"
 
 #include "bitset.h"
 #include "pset.h"
index be76923..ad144c4 100644 (file)
 #include "config.h"
 #endif
 
-#ifdef HAVE_MALLOC_H
-#include <malloc.h>
-#endif
-
-#ifdef HAVE_ALLOCA_H
-#include <alloca.h>
-#endif
-
 #include <ctype.h>
 
 #include "obst.h"
index 28205e5..886b45e 100644 (file)
 #include "config.h"
 #endif
 
-#ifdef HAVE_ALLOCA_H
-#include <alloca.h>
-#endif
-#ifdef HAVE_MALLOC_H
-#include <malloc.h>
-#endif
-
 #include "debug.h"
 #include "xmalloc.h"
 #include "becopyopt_t.h"
@@ -30,6 +23,7 @@
 #include "benodesets.h"
 #include "bitset.h"
 #include "raw_bitset.h"
+#include "xmalloc.h"
 
 DEBUG_ONLY(static firm_dbg_module_t *dbg = NULL;)
 
index 56377fc..b9bc9f2 100644 (file)
 
 #include "firm_config.h"
 
-#ifdef HAVE_ALLOCA_H
-#include <alloca.h>
-#endif
-#ifdef HAVE_MALLOC_H
-#include <malloc.h>
-#endif
-
 #include "irnode_t.h"
 #include "pset.h"
 #include "becopyopt_t.h"
+#include "xmalloc.h"
 
 /******************************************************************************
     _____ _                        _            _   _
index 57a381f..2de1592 100644 (file)
@@ -8,13 +8,6 @@
 #include "config.h"
 #endif
 
-#ifdef HAVE_ALLOCA_H
-#include <alloca.h>
-#endif
-#ifdef HAVE_MALLOC_H
-#include <malloc.h>
-#endif
-
 #include "execfreq.h"
 #include "xmalloc.h"
 #include "debug.h"
index 312c557..821809e 100644 (file)
 
 #include <stdlib.h>
 
-#ifdef HAVE_MALLOC_H
-#include <malloc.h>
-#endif
-
-#ifdef __linux__
-#include <malloc.h>
-#endif /* __linux__ */
-
-#ifdef HAVE_ALLOCA_H
-#include <alloca.h>
-#endif
-
 #include <libcore/lc_opts.h>
 #include <libcore/lc_opts_enum.h>
 #include <libcore/lc_timing.h>
@@ -41,6 +29,7 @@
 #include "irphase_t.h"
 #include "bechordal.h"
 #include "error.h"
+#include "xmalloc.h"
 
 #include "becopystat.h"
 #include "becopyopt.h"
index 626821d..1a9f768 100644 (file)
 
 #include <stdlib.h>
 
-#ifdef HAVE_MALLOC_H
- #include <malloc.h>
-#endif
-#ifdef HAVE_ALLOCA_H
- #include <alloca.h>
-#endif
-
 #include "hashptr.h"
 #include "pdeq.h"
 #include "pset.h"
@@ -32,6 +25,7 @@
 #include "util.h"
 #include "debug.h"
 #include "error.h"
+#include "xmalloc.h"
 
 #include "irflag_t.h"
 #include "ircons_t.h"
index 1e544cf..6a16a0b 100644 (file)
@@ -16,6 +16,7 @@
 #include "ircons.h"
 #include "debug.h"
 #include "irhooks.h"
+#include "xmalloc.h"
 
 #include "bearch.h"
 #include "belower.h"
 #include "iredges_t.h"
 #include "irgwalk.h"
 
-#ifdef HAVE_MALLOC_H
- #include <malloc.h>
-#endif
-#ifdef HAVE_ALLOCA_H
- #include <alloca.h>
-#endif
-
 #undef KEEP_ALIVE_COPYKEEP_HACK
 
 /* associates op with it's copy and CopyKeep */
index c539875..d346450 100644 (file)
@@ -58,13 +58,6 @@ alloc                ::= node-nr reg-nr .
 #include "config.h"
 #endif
 
-#ifdef HAVE_MALLOC_H
- #include <malloc.h>
-#endif
-#ifdef HAVE_ALLOCA_H
- #include <alloca.h>
-#endif
-
 #include <stdio.h>
 #include <stdlib.h>
 #include <limits.h>
@@ -76,6 +69,7 @@ alloc         ::= node-nr reg-nr .
 #include "pmap.h"
 #include "bitset.h"
 #include "raw_bitset.h"
+#include "xmalloc.h"
 
 #include "irprintf_t.h"
 #include "irnode_t.h"
index 49e85b7..c3e2508 100644 (file)
@@ -9,14 +9,6 @@
 #include "config.h"
 #endif
 
-#ifdef HAVE_ALLOCA_H
-#include <alloca.h>
-#endif
-
-#ifdef HAVE_MALLOC_H
-#include <malloc.h>
-#endif
-
 #include "obst.h"
 #include "set.h"
 #include "pset.h"
@@ -29,6 +21,7 @@
 #include "iredges_t.h"
 #include "ircons_t.h"
 #include "irprintf.h"
+#include "xmalloc.h"
 
 #include "beutil.h"
 #include "bearch.h"
index 8c84b20..a8db0ff 100644 (file)
@@ -5,19 +5,10 @@
  * Licence:     This file protected by GPL -  GNU GENERAL PUBLIC LICENSE.
  *
  */
-
-
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #endif
 
-#ifdef HAVE_MALLOC_H
- #include <malloc.h>
-#endif
-#ifdef HAVE_ALLOCA_H
- #include <alloca.h>
-#endif
-
 #include <stdio.h>
 #include <stdlib.h>
 #include <limits.h>
@@ -26,6 +17,7 @@
 #include "pset.h"
 #include "pmap.h"
 #include "bitset.h"
+#include "xmalloc.h"
 
 #include "irprintf_t.h"
 #include "irnode_t.h"