* @param *con Points to an entry in the constant table.
*/
ir_node *new_r_Const (ir_graph *irg, ir_node *block,
- ir_mode *mode, tarval *con);
+ ir_mode *mode, tarval *con);
/** Constructor for a SymConst node.
*
*/
ir_node *new_Const (ir_mode *mode, tarval *con);
+/** Constructor for a Const node.
+ *
+ * Derives mode from passed type. */
+ir_node *new_Const_type(tarval *con, type *tp);
+
/** Constructor for a SymConst node.
*
* Adds the node to the block in current_ir_block.