Add argument kind to lto_handle_option.

2010-05-06  H.J. Lu  <hongjiu.lu@intel.com>

	* lto-lang.c (lto_handle_option): Add argument kind.

From-SVN: r159105
This commit is contained in:
H.J. Lu 2010-05-06 13:03:12 +00:00 committed by H.J. Lu
parent 315a02daf1
commit afa83c1559
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2010-05-06 H.J. Lu <hongjiu.lu@intel.com>
* lto-lang.c (lto_handle_option): Add argument kind.
2010-05-05 Jan Hubicka <jh@suse.cz>
* lto.c (lto_promote_cross_file_statics): Compute boundary based on refs.

View File

@ -616,7 +616,8 @@ lto_init_options (unsigned int argc ATTRIBUTE_UNUSED,
const char *resolution_file_name;
static int
lto_handle_option (size_t scode, const char *arg, int value ATTRIBUTE_UNUSED)
lto_handle_option (size_t scode, const char *arg,
int value ATTRIBUTE_UNUSED, int kind ATTRIBUTE_UNUSED)
{
enum opt_code code = (enum opt_code) scode;
int result = 1;