is_mode should not assert, as it is used in the dumper
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Wed, 30 Jun 2004 12:18:26 +0000 (12:18 +0000)
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Wed, 30 Jun 2004 12:18:26 +0000 (12:18 +0000)
[r3256]

ir/ir/irmode.c

index 78bfd3d..2240d14 100644 (file)
@@ -523,7 +523,6 @@ get_mode_NAN(ir_mode *mode)
 
 int
 is_mode (void *thing) {
-  assert(thing);
   if (get_kind(thing) == k_ir_mode)
     return 1;
   else