Commit a9a55844 by Torbjorn Granlund

(hard_regno_mode_ok): Don't abort if unknown mode,

return 0 instead.  Declare argument MODE as `enum machine_mode'.

From-SVN: r2062
parent d7e2c932
......@@ -46,7 +46,7 @@ trace (s, s1, s2)
int
hard_regno_mode_ok (regno, mode)
int regno;
int mode;
enum machine_mode mode;
{
switch (mode)
{
......@@ -107,7 +107,10 @@ hard_regno_mode_ok (regno, mode)
else
return 0;
}
abort(0);
/* Used to abort here, but simply saying "no" handles TImode
much better. */
return 0;
}
/* ADDRESS_COST calls this. This function is not optimal
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment