lto-streamer-in.c (get_resolution): Move to lto/lto.c.
authorDiego Novillo <dnovillo@google.com>
Fri, 3 Jun 2011 14:53:27 +0000 (10:53 -0400)
committerDiego Novillo <dnovillo@gcc.gnu.org>
Fri, 3 Jun 2011 14:53:27 +0000 (10:53 -0400)
commitd5828cc76236b5738cc0e17a80f5313565bc288a
treeefd955ba1af7996c630fd1c8364572be4727c96e
parentee33b5f0b2008e95f4a35308edc348ebb4ba07fa
lto-streamer-in.c (get_resolution): Move to lto/lto.c.

* lto-streamer-in.c (get_resolution): Move to lto/lto.c.
(lto_register_var_decl_in_symtab): Likewise.
(lto_register_function_decl_in_symtab): Likewise.
(lto_read_tree): Move VAR_DECL and FUNCTION_DECL registration
logic to lto_read_decls.

lto/ChangeLog

* lto.c (get_resolution): Move from lto-streamer-in.c.
(lto_register_var_decl_in_symtab): Likewise.
(lto_register_function_decl_in_symtab): Likewise.
(uniquify_nodes): Call lto_register_var_decl and
lto_register_function_decl_in_symtab after reading a new
VAR_DECL or FUNCTION_DECL.

From-SVN: r174604
gcc/ChangeLog
gcc/lto-streamer-in.c
gcc/lto/ChangeLog
gcc/lto/lto.c