[lto][patch] Remove more dead code

Rafael Espindola espindola@google.com
Thu Jan 22 17:14:00 GMT 2009


Looks like we never output a TRANSLATION_UNIT_DECL. Is the patch ok if the
testsuite shows no regressions?

2009-01-22  Rafael Avila de Espindola  <espindola@google.com>

	* lto-function-in.c (input_translation_unit_decl): Remove.
	(input_tree_operand): Don't call input_translation_unit_decl.
	* lto-function-out.c (output_translation_unit_decl): Remove.
	(output_tree_with_context): Don't call output_translation_unit_decl.

Cheers,
-- 
Rafael Avila de Espindola

Google | Gordon House | Barrow Street | Dublin 4 | Ireland
Registered in Dublin, Ireland | Registration Number: 368047
-------------- next part --------------
A non-text attachment was scrubbed...
Name: translation.patch
Type: text/x-diff
Size: 3512 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20090122/4e871765/attachment.bin>


More information about the Gcc-patches mailing list