From: Michael Beck Date: Tue, 5 Jun 2007 21:57:57 +0000 (+0000) Subject: opt_change_calling_conventions() added X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=a5ede4e203b6a25705f88d2142960f9bf5cf6d95;p=libfirm opt_change_calling_conventions() added [r14337] --- diff --git a/include/libfirm/iroptimize.h b/include/libfirm/iroptimize.h index 50ba39193..c4c94a379 100644 --- a/include/libfirm/iroptimize.h +++ b/include/libfirm/iroptimize.h @@ -19,7 +19,7 @@ /** * @file - * @brief Optimisations + * @brief Available Optimisations of libFirm. * @version $Id: cfopt.h 13543 2007-04-29 19:29:02Z beck $ */ #ifndef FIRM_IROPTIMIZE_H @@ -45,7 +45,7 @@ void optimize_cf(ir_graph *irg); /** - * Perform partial conditionla evaluation on the given graph. + * Perform partial conditional evaluation on the given graph. * * @param irg the graph */ @@ -493,4 +493,11 @@ void normalize_irg_class_casts(ir_graph *irg, gen_pointer_type_to_func gppt_fct) */ void optimize_class_casts(void); +/** + * Change the calling conventions for all local methods. + * + * @param cc new calling convention + */ +void opt_change_calling_conventions(unsigned cc); + #endif