From 8f712aee3350f078f68154009682c7a4eb641c63 Mon Sep 17 00:00:00 2001 From: Sebastian Buchwald Date: Wed, 19 Nov 2008 12:44:13 +0000 Subject: [PATCH] Added new_rd_Const_long to header. [r23813] --- include/libfirm/ircons.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/include/libfirm/ircons.h b/include/libfirm/ircons.h index 6b574cbf1..29ed3dc25 100644 --- a/include/libfirm/ircons.h +++ b/include/libfirm/ircons.h @@ -1254,6 +1254,22 @@ ir_node *new_rd_Const_type (dbg_info *db, ir_graph *irg, ir_node *new_rd_Const (dbg_info *db, ir_graph *irg, ir_mode *mode, tarval *con); +/** Constructor for a Const node. + * + * Adds the node to the start block. + * + * Constructor for a Const node. The constant represents a target + * value. Sets the type information to type_unknown. (No more + * supported: If tv is entity derives a somehow useful type.) + * + * @param *db A pointer for debug information. + * @param *irg The IR graph the node belongs to. + * @param *mode The mode of the operands and results. + * @param value A value from which the tarval is made. + */ +ir_node *new_rd_Const_long (dbg_info *db, ir_graph *irg, + ir_mode *mode, long value); + /** Constructor for a SymConst_type node. * * This is the constructor for a symbolic constant. -- 2.20.1