- C99 feature removed
[libfirm] / include / libfirm / irmemory.h
index fbc2246..16e4008 100644 (file)
@@ -69,6 +69,9 @@ typedef enum {
        ir_sc_modifier_nottaken = 0x80  /**< if set, the address of the variable was not taken */
 } ir_storage_class_class_t;
 
+/** Get the base storage class (ignore modifier) */
+#define GET_BASE_SC(x) ((x) & ~ir_sc_modifier_nottaken)
+
 /**
  * A source language specific memory disambiguator function.
  * Called by get_alias_relation().