backend: put ignore regs into beirg
[libfirm] / ir / ir / irprog_t.h
index f4152ec..07e73ed 100644 (file)
@@ -29,8 +29,6 @@
 
 #include "irprog.h"
 #include "irtypes.h"
-#include "pseudo_irg.h"
-#include "ircgcons.h"
 #include "irtypeinfo.h"
 #include "irmemory.h"
 
@@ -63,18 +61,15 @@ static inline ir_type *_get_tls_type(void)
 static inline int _get_irp_n_irgs(void)
 {
        assert(irp && irp->graphs);
-       if (get_visit_pseudo_irgs()) return get_irp_n_allirgs();
        return ARR_LEN(irp->graphs);
 }
 
 static inline ir_graph *_get_irp_irg(int pos)
 {
-       if (get_visit_pseudo_irgs()) return get_irp_allirg(pos);
        assert(0 <= pos && pos <= ARR_LEN(irp->graphs));
        return irp->graphs[pos];
 }
 
-
 static inline int _get_irp_n_types(void)
 {
        assert(irp && irp->types);