introduce a IR_SEGMENT_FIRST
authorMatthias Braun <matze@braunis.de>
Sun, 21 Sep 2008 17:42:05 +0000 (17:42 +0000)
committerMatthias Braun <matze@braunis.de>
Sun, 21 Sep 2008 17:42:05 +0000 (17:42 +0000)
[r22145]

include/libfirm/irprog.h

index 01aefdb..8d53478 100644 (file)
@@ -47,8 +47,9 @@
 #include "irgraph.h"
 
 typedef enum ir_segment_t {
+       IR_SEGMENT_FIRST,
        /** "normal" global data */
-       IR_SEGMENT_GLOBAL,
+       IR_SEGMENT_GLOBAL = IR_SEGMENT_FIRST,
        /** thread local storage segment */
        IR_SEGMENT_THREAD_LOCAL,
        /**