OSDN Git Service

2005-02-08 Marcin Dalecki <martin@dalecki.de>
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 8 Feb 2005 19:14:39 +0000 (19:14 +0000)
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 8 Feb 2005 19:14:39 +0000 (19:14 +0000)
* expr.c (add_type_assertion): Use the proper enumeration type,
since this is what htab_find_slot() is expecting.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94743 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/java/ChangeLog
gcc/java/expr.c

index ef180dc..e68ffe3 100644 (file)
@@ -1,3 +1,8 @@
+2005-02-08  Marcin Dalecki  <martin@dalecki.de>
+
+       * 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  <joseph@codesourcery.com>
 
        * gcj.texi: Update copyright dates.
index 626b9bc..a8ae7c6 100644 (file)
@@ -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)