#include "irgmod.h"
#include "iropt_dbg.h"
#include "iredges_t.h"
+#include "irgwalk.h"
#include "irprintf.h"
/**
*
* @param block the block which is entered by the branch
* @param irn the node expressing the switch value
- * @param pnc the branch label
+ * @param nr the branch label
* @param env statistical environment
*
* Branch labels are a simple case. We can replace the value
if (! c) {
ir_mode *mode = get_irn_mode(irn);
- type *tp = get_irn_type(irn);
+ ir_type *tp = get_irn_type(irn);
tarval *tv = new_tarval_from_long(nr, mode);
c = new_r_Const_type(current_ir_graph, block, mode, tv, tp);
}