From 89f9163de1bb311215bc07bce4e6d1358ec7cbd0 Mon Sep 17 00:00:00 2001 From: Matthias Braun Date: Mon, 2 Apr 2007 17:44:21 +0000 Subject: [PATCH] alloca is now declared in xmalloc.h [r12648] --- ir/be/TEMPLATE/TEMPLATE_new_nodes.c | 7 +------ ir/be/arm/arm_new_nodes.c | 9 +-------- ir/be/ia32/bearch_ia32.c | 9 +-------- ir/be/ia32/ia32_new_nodes.c | 9 +-------- ir/be/mips/mips_new_nodes.c | 7 +------ ir/be/ppc32/ppc32_new_nodes.c | 7 +------ ir/st/st.c | 6 ------ ir/tr/entity.c | 6 ------ ir/tr/type.c | 6 ------ 9 files changed, 6 insertions(+), 60 deletions(-) diff --git a/ir/be/TEMPLATE/TEMPLATE_new_nodes.c b/ir/be/TEMPLATE/TEMPLATE_new_nodes.c index ba1af8054..bccb99502 100644 --- a/ir/be/TEMPLATE/TEMPLATE_new_nodes.c +++ b/ir/be/TEMPLATE/TEMPLATE_new_nodes.c @@ -7,12 +7,6 @@ #include "config.h" #endif -#ifdef _WIN32 -#include -#else -#include -#endif - #include #include "irprog_t.h" @@ -25,6 +19,7 @@ #include "firm_common_t.h" #include "irvrfy_t.h" #include "irprintf.h" +#include "xmalloc.h" #include "../bearch.h" diff --git a/ir/be/arm/arm_new_nodes.c b/ir/be/arm/arm_new_nodes.c index 5ffd02010..e200dd402 100644 --- a/ir/be/arm/arm_new_nodes.c +++ b/ir/be/arm/arm_new_nodes.c @@ -7,14 +7,6 @@ #include "config.h" #endif -#ifdef HAVE_MALLOC_H -#include -#endif - -#ifdef HAVE_ALLOCA_H -#include -#endif - #include #include "irprog_t.h" @@ -27,6 +19,7 @@ #include "firm_common_t.h" #include "irvrfy_t.h" #include "irprintf.h" +#include "xmalloc.h" #include "../bearch.h" diff --git a/ir/be/ia32/bearch_ia32.c b/ir/be/ia32/bearch_ia32.c index 67e52f725..1f224c235 100644 --- a/ir/be/ia32/bearch_ia32.c +++ b/ir/be/ia32/bearch_ia32.c @@ -7,14 +7,6 @@ #include "config.h" #endif -#ifdef HAVE_MALLOC_H -#include -#endif - -#ifdef HAVE_ALLOCA_H -#include -#endif - #include #include @@ -34,6 +26,7 @@ #include "pset.h" #include "debug.h" #include "error.h" +#include "xmalloc.h" #include "../beabi.h" #include "../beirg.h" diff --git a/ir/be/ia32/ia32_new_nodes.c b/ir/be/ia32/ia32_new_nodes.c index dc650b769..a445dd25d 100644 --- a/ir/be/ia32/ia32_new_nodes.c +++ b/ir/be/ia32/ia32_new_nodes.c @@ -8,14 +8,6 @@ #include "config.h" #endif -#ifdef HAVE_MALLOC_H -#include -#endif - -#ifdef HAVE_ALLOCA_H -#include -#endif - #include #include "irprog_t.h" @@ -31,6 +23,7 @@ #include "iredges.h" #include "error.h" #include "raw_bitset.h" +#include "xmalloc.h" #include "../bearch.h" diff --git a/ir/be/mips/mips_new_nodes.c b/ir/be/mips/mips_new_nodes.c index df70986fd..dbe9e268d 100644 --- a/ir/be/mips/mips_new_nodes.c +++ b/ir/be/mips/mips_new_nodes.c @@ -7,12 +7,6 @@ #include "config.h" #endif -#ifdef _WIN32 -#include -#else -#include -#endif - #include #include "irprog_t.h" @@ -25,6 +19,7 @@ #include "firm_common_t.h" #include "irvrfy_t.h" #include "irprintf.h" +#include "xmalloc.h" #include "../bearch.h" diff --git a/ir/be/ppc32/ppc32_new_nodes.c b/ir/be/ppc32/ppc32_new_nodes.c index 3d110265d..f71d29083 100644 --- a/ir/be/ppc32/ppc32_new_nodes.c +++ b/ir/be/ppc32/ppc32_new_nodes.c @@ -7,12 +7,6 @@ #include "config.h" #endif -#ifdef _WIN32 -#include -#else -#include -#endif - #include #include "irprog_t.h" @@ -25,6 +19,7 @@ #include "firm_common_t.h" #include "irvrfy_t.h" #include "irprintf.h" +#include "xmalloc.h" #include "../bearch.h" diff --git a/ir/st/st.c b/ir/st/st.c index e51d5a718..06445243a 100644 --- a/ir/st/st.c +++ b/ir/st/st.c @@ -31,12 +31,6 @@ #ifdef HAVE_STDLIB_H # include #endif -#ifdef HAVE_MALLOC_H -# include -#endif -#ifdef HAVE_ALLOCA_H -# include -#endif # include "st.h" # include "irgwalk.h" diff --git a/ir/tr/entity.c b/ir/tr/entity.c index 31268fb3b..611522888 100644 --- a/ir/tr/entity.c +++ b/ir/tr/entity.c @@ -22,12 +22,6 @@ #ifdef HAVE_STDDEF_H # include #endif -#ifdef HAVE_MALLOC_H -# include -#endif -#ifdef HAVE_ALLOCA_H -# include -#endif #include "firm_common_t.h" diff --git a/ir/tr/type.c b/ir/tr/type.c index 9872f2940..a4a8fd47a 100644 --- a/ir/tr/type.c +++ b/ir/tr/type.c @@ -42,12 +42,6 @@ # include "config.h" #endif -#ifdef HAVE_ALLOCA_H -#include -#endif -#ifdef HAVE_MALLOC_H -#include -#endif #ifdef HAVE_STRING_H # include #endif -- 2.20.1