From 2931bc129cc12bf277a1cf85857441c58ed08e51 Mon Sep 17 00:00:00 2001 From: Matthias Braun Date: Wed, 19 Sep 2007 16:32:42 +0000 Subject: [PATCH] allow get_tarval_null for mode_b [r15881] --- ir/tv/tv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ir/tv/tv.c b/ir/tv/tv.c index f13d52c85..eaa888674 100644 --- a/ir/tv/tv.c +++ b/ir/tv/tv.c @@ -524,13 +524,13 @@ tarval *get_tarval_null(ir_mode *mode) { case irms_control_flow: case irms_memory: case irms_auxiliary: - case irms_internal_boolean: assert(0); break; case irms_float_number: return new_tarval_from_double(0.0, mode); + case irms_internal_boolean: case irms_int_number: return new_tarval_from_long(0l, mode); -- 2.20.1