lto-streamer.h (struct output_block::symbol): Change from struct symtab_node to plain symtab_node.

* lto-streamer.h (struct output_block::symbol): Change from
	struct symtab_node to plain symtab_node.
	(referenced_from_this_partition_p): Change first parameter
	from struct symtab_node to plain symtab_node.

From-SVN: r213805
This commit is contained in:
Gerald Pfeifer 2014-08-11 02:10:00 +00:00 committed by Gerald Pfeifer
parent de703817ab
commit f473c082d8
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,10 @@
2014-08-10 Gerald Pfeifer <gerald@pfeifer.com>
* lto-streamer.h (struct output_block::symbol): Change from
struct symtab_node to plain symtab_node.
(referenced_from_this_partition_p): Change first parameter
from struct symtab_node to plain symtab_node.
2014-08-10 Marek Polacek <polacek@redhat.com> 2014-08-10 Marek Polacek <polacek@redhat.com>
PR c/51849 PR c/51849

View File

@ -636,7 +636,7 @@ struct output_block
/* The current symbol that we are currently serializing. Null /* The current symbol that we are currently serializing. Null
if we are serializing something else. */ if we are serializing something else. */
struct symtab_node *symbol; symtab_node *symbol;
/* These are the last file and line that were seen in the stream. /* These are the last file and line that were seen in the stream.
If the current node differs from these, it needs to insert If the current node differs from these, it needs to insert
@ -826,7 +826,7 @@ bool referenced_from_other_partition_p (struct ipa_ref_list *,
lto_symtab_encoder_t); lto_symtab_encoder_t);
bool reachable_from_other_partition_p (struct cgraph_node *, bool reachable_from_other_partition_p (struct cgraph_node *,
lto_symtab_encoder_t); lto_symtab_encoder_t);
bool referenced_from_this_partition_p (struct symtab_node *, bool referenced_from_this_partition_p (symtab_node *,
lto_symtab_encoder_t); lto_symtab_encoder_t);
bool reachable_from_this_partition_p (struct cgraph_node *, bool reachable_from_this_partition_p (struct cgraph_node *,
lto_symtab_encoder_t); lto_symtab_encoder_t);