Commit 63bea6c0 authored by Matthias Braun's avatar Matthias Braun
Browse files

no strange stuff for including alloca anymore, use xmalloc.h

[r12646]
parent 77e1381e
......@@ -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"
......
......@@ -11,14 +11,6 @@
#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"
......
......@@ -16,13 +16,6 @@
#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;)
......
......@@ -13,16 +13,10 @@
#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"
/******************************************************************************
_____ _ _ _ _
......
......@@ -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"
......
......@@ -12,18 +12,6 @@
#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"
......
......@@ -18,13 +18,6 @@
#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"
......
......@@ -16,6 +16,7 @@
#include "ircons.h"
#include "debug.h"
#include "irhooks.h"
#include "xmalloc.h"
#include "bearch.h"
#include "belower.h"
......@@ -29,13 +30,6 @@
#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 */
......
......@@ -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"
......
......@@ -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"
......
......@@ -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"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment