renamed real_function_call unto function_call
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Thu, 6 Jul 2006 16:24:03 +0000 (16:24 +0000)
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Thu, 6 Jul 2006 16:24:03 +0000 (16:24 +0000)
[r8010]

ir/ir/irflag.h
ir/ir/irflag_t.def

index 63ccef2..acf4787 100644 (file)
@@ -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.
index 3426e85..97d6ab1 100644 (file)
@@ -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)