From 75ddaef5730aa4c267d64351e86f97b8acfb20b5 Mon Sep 17 00:00:00 2001 From: Matthias Braun Date: Wed, 28 Jul 2010 14:56:55 +0000 Subject: [PATCH] avoid unnecessary #define in public headers [r27837] --- include/libfirm/ircons.h | 2 -- include/libfirm/irgraph.h | 3 --- 2 files changed, 5 deletions(-) diff --git a/include/libfirm/ircons.h b/include/libfirm/ircons.h index 427b8d6db..e4a33e99b 100644 --- a/include/libfirm/ircons.h +++ b/include/libfirm/ircons.h @@ -4176,8 +4176,6 @@ FIRM_API void add_immBlock_pred(ir_node *immblock, ir_node *jmp); /** Finalize a Block node, when all control flows are known. */ FIRM_API void mature_immBlock(ir_node *block); -#define mature_cur_block() mature_immBlock(get_cur_block()); - /** Get the current value of a local variable. * diff --git a/include/libfirm/irgraph.h b/include/libfirm/irgraph.h index 22e593958..08ffb4ca0 100644 --- a/include/libfirm/irgraph.h +++ b/include/libfirm/irgraph.h @@ -319,9 +319,6 @@ FIRM_API irg_phase_state get_irg_phase_state(const ir_graph *irg); /** Sets the phase state of an IR graph. */ FIRM_API void set_irg_phase_state(ir_graph *irg, irg_phase_state state); -/** Sets the phase of the given IR graph to low. */ -#define set_irg_phase_low(irg) set_irg_phase_state(irg, phase_low) - /** state: op_pin_state_pinned The graph is "op_pin_state_pinned" if all nodes are associated with a basic block. It is in state "op_pin_state_floats" if nodes are in arbitrary blocks. In state -- 2.20.1