From 86641a95b6bd1fad7c27bd851ed999d7b8e12acc Mon Sep 17 00:00:00 2001 From: Marcin Dalecki Date: Tue, 8 Feb 2005 20:14:39 +0100 Subject: [PATCH] expr.c (add_type_assertion): Use the proper enumeration type, since this is what htab_find_slot() is expecting. 2005-02-08 Marcin Dalecki * expr.c (add_type_assertion): Use the proper enumeration type, since this is what htab_find_slot() is expecting. From-SVN: r94743 --- gcc/java/ChangeLog | 5 +++++ gcc/java/expr.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index ef180dc390c..e68ffe3bc18 100644 --- a/gcc/java/ChangeLog +++ b/gcc/java/ChangeLog @@ -1,3 +1,8 @@ +2005-02-08 Marcin Dalecki + + * expr.c (add_type_assertion): Use the proper enumeration type, + since this is what htab_find_slot() is expecting. + 2005-02-06 Joseph S. Myers * gcj.texi: Update copyright dates. diff --git a/gcc/java/expr.c b/gcc/java/expr.c index 626b9bcadd2..a8ae7c612fe 100644 --- a/gcc/java/expr.c +++ b/gcc/java/expr.c @@ -458,7 +458,7 @@ add_type_assertion (tree class, int assertion_code, tree op1, tree op2) as.op1 = op1; as.op2 = op2; - as_pp = htab_find_slot (assertions_htab, &as, true); + as_pp = htab_find_slot (assertions_htab, &as, INSERT); /* Don't add the same assertion twice. */ if (*as_pp) -- 2.30.2