From 6dd52055f4845f7e2f4707fa1778aaef0aa2ab94 Mon Sep 17 00:00:00 2001 From: Michael Beck Date: Wed, 26 Jan 2005 12:07:08 +0000 Subject: [PATCH] little fix added, config.h included --- ir/be/bephiopt.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ir/be/bephiopt.c b/ir/be/bephiopt.c index 7da632aa9..4d907db17 100644 --- a/ir/be/bephiopt.c +++ b/ir/be/bephiopt.c @@ -2,6 +2,9 @@ * @author Daniel Grund * @date 04.01.2005 */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif #include #include @@ -43,8 +46,9 @@ static void phi_node_walker(ir_node *node, void *env) { static void node_collector(ir_node *node, void *env) { + struct obstack *obst = env; if (!is_Block(node) && is_allocatable_irn(node)) - obstack_ptr_grow(env, node); + obstack_ptr_grow(obst, node); } -- 2.20.1