}
type *
-(get_irg_frame_type)(const ir_graph *irg) {
+(get_irg_frame_type)(ir_graph *irg) {
return _get_irg_frame_type(irg);
}
entity *get_irg_entity (const ir_graph *irg);
void set_irg_entity (ir_graph *irg, entity *ent);
-type *get_irg_frame_type (const ir_graph *irg);
+type *get_irg_frame_type (ir_graph *irg);
void set_irg_frame_type (ir_graph *irg, type *ftp);
/* To test for a frame type. O(#irgs) if ftp is class type. */
int is_frame_type (const type *ftp);
#include "irprog.h"
#include "pseudo_irg.h"
#include "type_t.h"
+#include "typegmod.h"
#include "tr_inheritance.h"
#include "irloop.h"
}
static INLINE type *
-_get_irg_frame_type(const ir_graph *irg) {
+_get_irg_frame_type(ir_graph *irg) {
assert(irg && irg->frame_type);
- return irg->frame_type;
+ return irg->frame_type = skip_tid(irg->frame_type);
}
static INLINE void