* cse.c (rtx_cost): Only call CONST_COSTS if it is defined.

From-SVN: r18787
This commit is contained in:
Jeffrey A Law 1998-03-23 22:55:04 +00:00 committed by Jeff Law
parent 65d98182e3
commit 47a0b68fb6
2 changed files with 4 additions and 0 deletions

View File

@ -1,5 +1,7 @@
Mon Mar 23 23:49:47 1998 Jeffrey A Law (law@cygnus.com)
* cse.c (rtx_cost): Only call CONST_COSTS if it is defined.
* stmt.c (unroll_block_trees): Free block_vector if needed.
Mon Mar 23 23:26:42 1998 Philippe De Muyter <phdm@macqel.be>

View File

@ -750,7 +750,9 @@ rtx_cost (x, outer_code)
#ifdef RTX_COSTS
RTX_COSTS (x, code, outer_code);
#endif
#ifdef CONST_COSTS
CONST_COSTS (x, code, outer_code);
#endif
default:
#ifdef DEFAULT_RTX_COSTS