X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fir%2Firgraph_t.h;h=a743ea9dcab0bcc57e2663cb3799ea400778a26f;hb=44a4fc91e7377498303b66f98d105d4ff870cf41;hp=f5e67fc28fa9cfc570ee8468a810638687bfb2d6;hpb=f98f336c1bfec93bcf432f38c23528d47dc90fe9;p=libfirm diff --git a/ir/ir/irgraph_t.h b/ir/ir/irgraph_t.h index f5e67fc28..a743ea9dc 100644 --- a/ir/ir/irgraph_t.h +++ b/ir/ir/irgraph_t.h @@ -29,7 +29,6 @@ #include "firm_types.h" #include "irgraph.h" -#include "firm_common_t.h" #include "irtypes.h" #include "irprog.h" #include "pseudo_irg.h" @@ -250,7 +249,7 @@ _set_irg_current_block(ir_graph *irg, ir_node *node) { static inline ir_entity * _get_irg_entity(const ir_graph *irg) { - assert(irg && irg->ent); + assert(irg); return irg->ent; } @@ -261,8 +260,8 @@ _set_irg_entity(ir_graph *irg, ir_entity *ent) { static inline ir_type * _get_irg_frame_type(ir_graph *irg) { - assert(irg && irg->frame_type); - return irg->frame_type = skip_tid(irg->frame_type); + assert(irg->frame_type); + return irg->frame_type; } static inline void