lto-plugin.c (write_resolution): Do not assert syms is non-NULL.

2010-05-21  Richard Guenther  <rguenther@suse.de>

	* lto-plugin.c (write_resolution): Do not assert syms is non-NULL.

From-SVN: r159676
This commit is contained in:
Richard Guenther 2010-05-21 16:08:28 +00:00 committed by Richard Biener
parent 5b4b1c9a4e
commit bdc89f9eff
2 changed files with 4 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2010-05-21 Richard Guenther <rguenther@suse.de>
* lto-plugin.c (write_resolution): Do not assert syms is non-NULL.
2010-05-07 Richard Guenther <rguenther@suse.de>
* lto-plugin.c (free_2): Do not free resolution_file.

View File

@ -317,7 +317,6 @@ write_resolution (void)
struct ld_plugin_symbol *syms = symtab->syms;
unsigned j;
assert (syms);
get_symbols (info->handle, symtab->nsyms, syms);
fprintf (f, "%s %d\n", info->name, info->symtab.nsyms);