aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-dse.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/tree-ssa-dse.c')
-rw-r--r--gcc/tree-ssa-dse.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/gcc/tree-ssa-dse.c b/gcc/tree-ssa-dse.c
index 4ad19b3..0335645 100644
--- a/gcc/tree-ssa-dse.c
+++ b/gcc/tree-ssa-dse.c
@@ -347,9 +347,7 @@ dse_dom_walker::before_dom_children (basic_block bb)
}
}
-namespace {
-
-const pass_data pass_data_dse =
+static const pass_data pass_data_dse =
{
GIMPLE_PASS, /* type */
"dse", /* name */
@@ -362,7 +360,7 @@ const pass_data pass_data_dse =
0, /* todo_flags_finish */
};
-class pass_dse : public gimple_opt_pass
+class pass_dse GCC_FINAL : public gimple_opt_pass
{
public:
pass_dse (gcc::context *ctxt)
@@ -409,8 +407,6 @@ pass_dse::execute (function *fun)
return 0;
}
-} // anon namespace
-
gimple_opt_pass *
make_pass_dse (gcc::context *ctxt)
{