avoid unnecessary #define in public headers
authorMatthias Braun <matze@braunis.de>
Wed, 28 Jul 2010 14:56:55 +0000 (14:56 +0000)
committerMatthias Braun <matze@braunis.de>
Wed, 28 Jul 2010 14:56:55 +0000 (14:56 +0000)
[r27837]

include/libfirm/ircons.h
include/libfirm/irgraph.h

index 427b8d6..e4a33e9 100644 (file)
@@ -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.
  *
index 22e5939..08ffb4c 100644 (file)
@@ -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