be_lower_for_target is now a simple function in the public API
[libfirm] / include / libfirm / irprog.h
index e0c2422..28f6bd9 100644 (file)
@@ -62,6 +62,7 @@ typedef enum ir_segment_t {
 
        IR_SEGMENT_LAST = IR_SEGMENT_DESTRUCTORS
 } ir_segment_t;
+ENUM_COUNTABLE(ir_segment_t)
 
 /**
  * A variable pointing to the current irp (program or module).