diff options
Diffstat (limited to 'gcc/tree-ssa-phiprop.c')
-rw-r--r-- | gcc/tree-ssa-phiprop.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/gcc/tree-ssa-phiprop.c b/gcc/tree-ssa-phiprop.c index d67f488..cbdbc6e 100644 --- a/gcc/tree-ssa-phiprop.c +++ b/gcc/tree-ssa-phiprop.c @@ -409,12 +409,6 @@ tree_ssa_phiprop (void) return 0; } -static bool -gate_phiprop (void) -{ - return flag_tree_phiprop; -} - namespace { const pass_data pass_data_phiprop = @@ -439,7 +433,7 @@ public: {} /* opt_pass methods: */ - bool gate () { return gate_phiprop (); } + virtual bool gate (function *) { return flag_tree_phiprop; } unsigned int execute () { return tree_ssa_phiprop (); } }; // class pass_phiprop |