Commit 30faf8c2 authored by Götz Lindenmaier's avatar Götz Lindenmaier
Browse files

added routine to read flag

[r4240]
parent cb2b4fcd
......@@ -80,6 +80,10 @@ void set_opt_cse (int value)
libFIRM_opt &= ~OPT_CSE;
}
int (get_opt_cse)(void) {
return _get_opt_cse();
}
void set_opt_global_cse(int value)
{
if (value)
......
......@@ -85,6 +85,9 @@ void set_opt_redundant_LoadStore(int value);
*/
void set_opt_cse (int value);
/** Returns constant folding optimization setting. */
int get_opt_cse(void);
/** Enables/Disables global constant subexpression elimination.
*
* If opt_global_cse == 1 and opt_cse == 1 perform intra procedure
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment