fix warning, add a panic when irio imports vector modes
[libfirm] / ir / ir / irprog_t.h
index 06a30bc..d6fb5e1 100644 (file)
@@ -118,14 +118,12 @@ _get_irp_opcode(int pos) {
        return irp->opcodes[pos];
 }
 
-#ifdef DEBUG_libfirm
 /** Returns a new, unique number to number nodes or the like. */
 static inline long
 get_irp_new_node_nr(void) {
        assert(irp);
        return irp->max_node_nr++;
 }
-#endif /* DEBUG_libfirm */
 
 static inline int
 get_irp_new_irg_idx(void) {