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:
Bernd Schmidt 1998-11-22 05:59:02 +00:00 committed by Bernd Schmidt
parent 57412d4fcc
commit 3d2f8eb6b7
2 changed files with 6 additions and 1 deletions

View File

@ -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.

View File

@ -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;
}