diff options
author | Jan Hubicka <jh@suse.cz> | 2008-07-16 23:38:15 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2008-07-16 21:38:15 +0000 |
commit | 7386e3ee260414735222ea6559f3bb94ecd011f9 (patch) | |
tree | e06ba8171841b599b4229f871ff4b5a27a61ccb2 /gcc/cgraph.h | |
parent | de498dd486218343a3db23354de14e6da81ada81 (diff) | |
download | gcc-7386e3ee260414735222ea6559f3bb94ecd011f9.tar.gz |
cgraph.h (varpool_empty_needed_queue): Declare.
* cgraph.h (varpool_empty_needed_queue): Declare.
* cgraphunit.c (output_in_order): Mark all variables as needed;
empty the queue.
* varpool.c (varpool_assemble_node): Update debug queue.
(varpool_assemble_pending_decls): Don't do it here.
(varpool_empty_needed_queue): New function.
From-SVN: r137903
Diffstat (limited to 'gcc/cgraph.h')
-rw-r--r-- | gcc/cgraph.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/cgraph.h b/gcc/cgraph.h index 070bd77dcdc..b817f87f7f0 100644 --- a/gcc/cgraph.h +++ b/gcc/cgraph.h @@ -401,6 +401,7 @@ bool varpool_assemble_decl (struct varpool_node *node); bool varpool_analyze_pending_decls (void); void varpool_output_debug_info (void); void varpool_remove_unreferenced_decls (void); +void varpool_empty_needed_queue (void); /* Walk all reachable static variables. */ #define FOR_EACH_STATIC_VARIABLE(node) \ |