- C99 feature removed
[libfirm] / include / libfirm / irmode.h
index dfbbc75..2d619d4 100644 (file)
@@ -36,7 +36,6 @@
 #define FIRM_IR_IRMODE_H
 
 #include "firm_types.h"
-#include "ident.h"
 
 /* ********** Predefined modes ********** */
 
@@ -85,7 +84,7 @@ typedef enum ir_mode_sort {
        /* Predefined sorts of modes */
        irms_auxiliary        = 0, /**< Only for Firm use. Not extensible. (irm_T) */
        irms_control_flow     = 1, /**< Marks all control flow modes. Not extensible. (irm_BB, irm_X) */
-       irms_memory           = 2, /**< Marks the memory mode.  Not extensible. (irm_M) */
+       irms_memory           = 2 | irmsh_is_dataM, /**< Marks the memory mode.  Not extensible. (irm_M) */
 
        /** Internal boolean representation.
             Storing to memory impossible, convert first. (irm_b) */
@@ -124,6 +123,8 @@ typedef enum ir_mode_arithmetic {
        irma_max
 } ir_mode_arithmetic;
 
+/** Returns the name of the arithmetic type. */
+const char *get_mode_arithmetic_name(ir_mode_arithmetic ari);
 
 /* ********** Constructor for user defined modes **************** */
 /**