regmove.c (regmove_profitable_p): Use return value of find_matches properly.
* regmove.c (regmove_profitable_p): Use return value of find_matches properly. From-SVN: r23750
This commit is contained in:
parent
57412d4fcc
commit
3d2f8eb6b7
@ -1,3 +1,8 @@
|
||||
Sun Nov 22 13:40:02 1998 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
|
||||
|
||||
* regmove.c (regmove_profitable_p): Use return value of find_matches
|
||||
properly.
|
||||
|
||||
Sun Nov 22 02:47:37 PST 1998 Jeff Law (law@cygnus.com)
|
||||
|
||||
* version.c: Bump for snapshot.
|
||||
|
@ -2028,7 +2028,7 @@ regmove_profitable_p ()
|
||||
we find a machine where this occurs and regmove should
|
||||
be enabled. */
|
||||
break;
|
||||
if (find_matches (pat, &match) >= 0)
|
||||
if (find_matches (pat, &match))
|
||||
return 1;
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user