X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=include%2Flibfirm%2Firmemory.h;h=5e841eac9c08f835f79878eff44ce1c60fa41cf0;hb=544b8de70c3b5961b5ba6e0d9781306e0123502c;hp=2fbe025ea5e2dc9717f3ba0baee8f17baa5b3afc;hpb=1ec30d95387eb392ba5a1adc7958ebd91383d59c;p=libfirm diff --git a/include/libfirm/irmemory.h b/include/libfirm/irmemory.h index 2fbe025ea..5e841eac9 100644 --- a/include/libfirm/irmemory.h +++ b/include/libfirm/irmemory.h @@ -202,4 +202,11 @@ void set_irg_memory_disambiguator_options(ir_graph *irg, unsigned options); */ void set_irp_memory_disambiguator_options(unsigned options); +/** + * Mark all private methods, i.e. those of which all call sites are known. + * We use a very convervative estimation yet: If the address of a method is + * never taken AND its visibility is visibility_local, then it's private. + */ +void mark_private_methods(void); + #endif /* FIRM_ANA_IRMEMORY_H */