diff options
author | David Malcolm <dmalcolm@redhat.com> | 2015-06-05 21:20:07 +0000 |
---|---|---|
committer | David Malcolm <dmalcolm@gcc.gnu.org> | 2015-06-05 21:20:07 +0000 |
commit | e4753451687bbad897a42e3d65a8698d21715272 (patch) | |
tree | 25b30db60a0639d1f7a601742a86859fc18091f6 /gcc/jit/dummy-frontend.c | |
parent | 9c3e121b01cd04ed96645f85d4587184d832a103 (diff) | |
download | gcc-e4753451687bbad897a42e3d65a8698d21715272.zip gcc-e4753451687bbad897a42e3d65a8698d21715272.tar.gz gcc-e4753451687bbad897a42e3d65a8698d21715272.tar.bz2 |
Remove jit_langhook_post_compilation_parsing_cleanups
gcc/jit/ChangeLog:
* dummy-frontend.c
(jit_langhook_post_compilation_parsing_cleanups): Remove.
(LANG_HOOKS_POST_COMPILATION_PARSING_CLEANUPS): Remove
* jit-playback.c (gcc::jit::playback::context::new_global): Add
call to varpool_node::finalize_decl.
(gcc::jit::playback::context::finalize_global_decls): Remove.
* jit-playback.h
(gcc::jit::playback::context::finalize_global_decls): Remove.
From-SVN: r224173
Diffstat (limited to 'gcc/jit/dummy-frontend.c')
-rw-r--r-- | gcc/jit/dummy-frontend.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/gcc/jit/dummy-frontend.c b/gcc/jit/dummy-frontend.c index 4a7966d..41d14f5 100644 --- a/gcc/jit/dummy-frontend.c +++ b/gcc/jit/dummy-frontend.c @@ -218,16 +218,6 @@ jit_langhook_getdecls (void) return NULL; } -static void -jit_langhook_post_compilation_parsing_cleanups (void) -{ - gcc::jit::playback::context *ctxt = gcc::jit::active_playback_ctxt; - gcc_assert (ctxt); - JIT_LOG_SCOPE (ctxt->get_logger ()); - - ctxt->finalize_global_decls (); -} - #undef LANG_HOOKS_NAME #define LANG_HOOKS_NAME "libgccjit" @@ -255,10 +245,6 @@ jit_langhook_post_compilation_parsing_cleanups (void) #undef LANG_HOOKS_GETDECLS #define LANG_HOOKS_GETDECLS jit_langhook_getdecls -#undef LANG_HOOKS_POST_COMPILATION_PARSING_CLEANUPS -#define LANG_HOOKS_POST_COMPILATION_PARSING_CLEANUPS \ - jit_langhook_post_compilation_parsing_cleanups - struct lang_hooks lang_hooks = LANG_HOOKS_INITIALIZER; #include "gt-jit-dummy-frontend.h" |