diff options
author | tbsaunde <tbsaunde@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-08-12 20:09:33 +0000 |
---|---|---|
committer | tbsaunde <tbsaunde@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-08-12 20:09:33 +0000 |
commit | 7620bc82f9bea7049364fd459c390c8c0369ee22 (patch) | |
tree | 0bb3e5e55fd46a2be97eff3a0c7917d317863f13 /gcc/web.c | |
parent | 8c6dc41cf72960678235a7a321c09e6211b6d595 (diff) | |
download | gcc-7620bc82f9bea7049364fd459c390c8c0369ee22.tar.gz |
Revert "replace several uses of the anon namespace with GCC_FINAL"
This reverts commit daa5a8a3cf9b04cd9af5544c61e12e6dca14f870.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@226834 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/web.c')
-rw-r--r-- | gcc/web.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/gcc/web.c b/gcc/web.c index 58ae58c07a9..839b03e94a3 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) { |