aboutsummaryrefslogtreecommitdiff
path: root/gcc/web.c
diff options
context:
space:
mode:
authorTrevor Saunders <tbsaunde@tbsaunde.org>2015-08-12 20:09:33 +0000
committerTrevor Saunders <tbsaunde@gcc.gnu.org>2015-08-12 20:09:33 +0000
commit17795822b27b7b5381525b1d7c98ca181be9bc80 (patch)
tree0bb3e5e55fd46a2be97eff3a0c7917d317863f13 /gcc/web.c
parentbd07e167b0782b004cd270ed586f245621b1dce0 (diff)
downloadgcc-17795822b27b7b5381525b1d7c98ca181be9bc80.zip
gcc-17795822b27b7b5381525b1d7c98ca181be9bc80.tar.gz
gcc-17795822b27b7b5381525b1d7c98ca181be9bc80.tar.bz2
Revert "replace several uses of the anon namespace with GCC_FINAL"
This reverts commit daa5a8a3cf9b04cd9af5544c61e12e6dca14f870. From-SVN: r226834
Diffstat (limited to 'gcc/web.c')
-rw-r--r--gcc/web.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/gcc/web.c b/gcc/web.c
index 58ae58c..839b03e 100644
--- a/gcc/web.c
+++ b/gcc/web.c
@@ -306,7 +306,9 @@ replace_ref (df_ref ref, rtx reg)
}
-static const pass_data pass_data_web =
+namespace {
+
+const pass_data pass_data_web =
{
RTL_PASS, /* type */
"web", /* name */
@@ -319,7 +321,7 @@ static const pass_data pass_data_web =
TODO_df_finish, /* todo_flags_finish */
};
-class pass_web GCC_FINAL : public rtl_opt_pass
+class pass_web : public rtl_opt_pass
{
public:
pass_web (gcc::context *ctxt)
@@ -424,6 +426,8 @@ pass_web::execute (function *fun)
return 0;
}
+} // anon namespace
+
rtl_opt_pass *
make_pass_web (gcc::context *ctxt)
{