From: Michael Beck Date: Thu, 6 Jul 2006 16:24:03 +0000 (+0000) Subject: renamed real_function_call unto function_call X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=90105e7b2a445215b12b3d89c8180df9a2001570;p=libfirm renamed real_function_call unto function_call [r8010] --- diff --git a/ir/ir/irflag.h b/ir/ir/irflag.h index 63ccef2f1..acf4787c2 100644 --- a/ir/ir/irflag.h +++ b/ir/ir/irflag.h @@ -235,14 +235,14 @@ void set_opt_fragile_ops(int value); void set_opt_if_conversion(int value); /** - * Enable/Disable real function call optimization. + * Enable/Disable function call optimization. * - * Real function call optimization detects "real functions" and - * allows the floating of Call nodes. A "real function" is one that + * Function call optimization detects const and pure functions and + * allows the CSE of Call nodes. A const function is one that * do only evaluate it's parameters and did not read or write memory - * to compute its results. + * to compute its results. Pure functions are allowed to read global memory. */ -void set_opt_real_function_call(int value); +void set_opt_function_call(int value); /** * Enable/Disable Confirm node removal during local optimization. diff --git a/ir/ir/irflag_t.def b/ir/ir/irflag_t.def index 3426e8591..97d6ab130 100644 --- a/ir/ir/irflag_t.def +++ b/ir/ir/irflag_t.def @@ -77,8 +77,8 @@ I_FLAG(fragile_ops , 19, OFF) /** If conversion. */ I_FLAG(if_conversion , 20, OFF) -/** Optimize real function calls. */ -I_FLAG(real_function_call , 21, ON) +/** Optimize function calls. */ +I_FLAG(function_call , 21, ON) /** Optimize cast nodes. */ E_FLAG(optimize_class_casts , 22, ON)