added kind field
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Tue, 8 Nov 2005 16:34:47 +0000 (16:34 +0000)
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Tue, 8 Nov 2005 16:34:47 +0000 (16:34 +0000)
[r6898]

ir/tv/tv_t.h

index d98acf2..1b3171e 100644 (file)
@@ -51,7 +51,8 @@ void finish_tarval(void);
  *   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 */
 };