From 093493d1809682a65cd5867a4062899b8dd67146 Mon Sep 17 00:00:00 2001 From: Michael Beck Date: Mon, 18 Jun 2007 18:57:37 +0000 Subject: [PATCH] moved opt_calling_conventions() to mark_private_methods() in ir_memory.c [r14620] --- include/libfirm/irmemory.h | 7 +++++++ 1 file changed, 7 insertions(+) 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 */ -- 2.20.1