moved opt_calling_conventions() to mark_private_methods() in ir_memory.c
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Mon, 18 Jun 2007 18:57:37 +0000 (18:57 +0000)
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Mon, 18 Jun 2007 18:57:37 +0000 (18:57 +0000)
[r14620]

include/libfirm/irmemory.h

index 2fbe025..5e841ea 100644 (file)
@@ -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 */