X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fana%2Ffield_temperature.c;h=ef9766925b52cbee74e903e72351729cb5f1d0b4;hb=b2e280bcb4dcde092a0971ea045ee1269b114c4f;hp=f36bff4b5e0781f207792af2cff6e453b446304e;hpb=1ec30d95387eb392ba5a1adc7958ebd91383d59c;p=libfirm diff --git a/ir/ana/field_temperature.c b/ir/ana/field_temperature.c index f36bff4b5..ef9766925 100644 --- a/ir/ana/field_temperature.c +++ b/ir/ana/field_temperature.c @@ -28,6 +28,8 @@ # include "config.h" #endif +#ifdef INTERPROCEDURAL_VIEW + #include #include "field_temperature.h" @@ -54,10 +56,12 @@ /* The entities that can be accessed by this Sel node. */ int get_Sel_n_accessed_entities(ir_node *sel) { + (void) sel; return 1; } ir_entity *get_Sel_accessed_entity(ir_node *sel, int pos) { + (void) pos; return get_Sel_entity(sel); } @@ -136,6 +140,7 @@ double get_type_estimated_n_instances(ir_type *tp) { } double get_type_estimated_mem_consumption_bytes(ir_type *tp) { + (void) tp; assert(0); return 0.0; } @@ -358,6 +363,9 @@ double get_entity_estimated_n_dyncalls(ir_entity *ent) { return n_calls; } +#if 0 +/* Move this to the jack compiler */ + /* ------------------------------------------------------------------------- */ /* Auxiliary */ /* ------------------------------------------------------------------------- */ @@ -394,3 +402,7 @@ int is_jack_rts_entity(ir_entity *e) { return is_jack_rts_name(name); } + +#endif /* if 0 */ + +#endif