spu.c (get_branch_target): Use extract_asm_operands.

2009-10-15  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        * config/spu/spu.c (get_branch_target): Use extract_asm_operands.

From-SVN: r152847
This commit is contained in:
Andrew Pinski 2009-10-15 15:12:03 +00:00 committed by Andrew Pinski
parent b10071c5cf
commit 3f25460732
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2009-10-15 Andrew Pinski <andrew_pinski@playstation.sony.com>
* config/spu/spu.c (get_branch_target): Use extract_asm_operands.
2009-10-15 Richard Guenther <rguenther@suse.de>
* tree.c (free_lang_data_in_decl): Free DECL_FCONTEXT.

View File

@ -2368,7 +2368,7 @@ get_branch_target (rtx branch)
return 0;
/* ASM GOTOs. */
if (GET_CODE (PATTERN (branch)) == ASM_OPERANDS)
if (extract_asm_operands (PATTERN (branch)) != NULL)
return NULL;
set = single_set (branch);