summaryrefslogtreecommitdiff
path: root/gcc/emit-rtl.c
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2000-04-04 02:24:50 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2000-04-04 02:24:50 +0000
commit5e4319714768bb3e314e7653c4d71e73358c4ace (patch)
tree843fa327c4739c577ba1794ec00c5fe4dd814da2 /gcc/emit-rtl.c
parent62b34490944086a5c2c4665191b02f4e418d27fe (diff)
downloadgcc-5e4319714768bb3e314e7653c4d71e73358c4ace.tar.gz
* sparc.c (output_restore_regs): Prototype.
(sparc_emit_float_lib_cmp): Constification. * emit-rtl.c (const_int_htab_hash, const_int_htab_eq): Likewise. * reload1.c (reload_cse_delete_noop_set, reload_cse_simplify): Prototype. * simplify-rtx.c (entry_and_rtx_equal_p): Constification. (get_value_hash, hash_rtx): Likewise. * ssa.c (compute_conservative_reg_partition): Prototype. * tree.c (mark_hash_entry): Prototype. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32896 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/emit-rtl.c')
-rw-r--r--gcc/emit-rtl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/emit-rtl.c b/gcc/emit-rtl.c
index b67e9f131a7..feead7697dc 100644
--- a/gcc/emit-rtl.c
+++ b/gcc/emit-rtl.c
@@ -191,7 +191,7 @@ static hashval_t
const_int_htab_hash (x)
const void *x;
{
- return (hashval_t) INTVAL ((rtx) x);
+ return (hashval_t) INTVAL ((const struct rtx_def *) x);
}
/* Returns non-zero if the value represented by X (which is really a
@@ -203,7 +203,7 @@ const_int_htab_eq (x, y)
const void *x;
const void *y;
{
- return (INTVAL ((rtx) x) == *((HOST_WIDE_INT *) y));
+ return (INTVAL ((const struct rtx_def *) x) == *((const HOST_WIDE_INT *) y));
}
/* Mark the hash-table element X (which is really a pointer to an