Commit 86641a95 by Marcin Dalecki Committed by Tom Tromey

expr.c (add_type_assertion): Use the proper enumeration type, since this is what…

expr.c (add_type_assertion): Use the proper enumeration type, since this is what htab_find_slot() is expecting.

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.

From-SVN: r94743
parent b59c0c44
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> 2005-02-06 Joseph S. Myers <joseph@codesourcery.com>
* gcj.texi: Update copyright dates. * gcj.texi: Update copyright dates.
......
...@@ -458,7 +458,7 @@ add_type_assertion (tree class, int assertion_code, tree op1, tree op2) ...@@ -458,7 +458,7 @@ add_type_assertion (tree class, int assertion_code, tree op1, tree op2)
as.op1 = op1; as.op1 = op1;
as.op2 = op2; 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. */ /* Don't add the same assertion twice. */
if (*as_pp) if (*as_pp)
......
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