From: Michael Beck Date: Wed, 30 Jun 2004 12:18:26 +0000 (+0000) Subject: is_mode should not assert, as it is used in the dumper X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=62c117613315014191bdc8876c55b4b0a7cba1b7;p=libfirm is_mode should not assert, as it is used in the dumper [r3256] --- diff --git a/ir/ir/irmode.c b/ir/ir/irmode.c index 78bfd3da0..2240d141a 100644 --- a/ir/ir/irmode.c +++ b/ir/ir/irmode.c @@ -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