#define _TV_T_H_
#include "firm_config.h"
+
+#include <assert.h>
#include "entity.h"
#include "irmode.h"
#include "tv.h"
* irmode.h for predefined modes
*/
struct tarval {
- ir_mode *mode; /**< the mode of the stored value */
+ firm_kind kind; /**< must be k_tarval */
+ ir_mode *mode; /**< the mode of the stored value */
const void *value; /**< the value stored in an internal way... */
unsigned int length; /**< the length of the stored value */
};