Removed last change, did not work with fltcalc
[libfirm] / ir / ir / ircons.h
index 3e7f389..506edeb 100644 (file)
@@ -1941,7 +1941,7 @@ ir_node *new_r_Raise  (ir_graph *irg, ir_node *block,
  * @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.
  *
@@ -3288,6 +3288,11 @@ ir_node *new_Raise  (ir_node *store, ir_node *obj);
  */
 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.