From f5e0da6fb5f097300b3e3f87916864fac2879db4 Mon Sep 17 00:00:00 2001 From: Michael Beck Date: Wed, 30 Jun 2004 12:21:08 +0000 Subject: [PATCH] Type size can now be in bits or bytes [r3258] --- ir/ir/iropt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ir/ir/iropt.c b/ir/ir/iropt.c index 12c35462f..c6c2b87d7 100644 --- a/ir/ir/iropt.c +++ b/ir/ir/iropt.c @@ -62,7 +62,7 @@ static tarval *computed_value_SymConst(ir_node *n) { if ((get_SymConst_kind(n) == size) && (get_type_state(get_SymConst_type(n))) == layout_fixed) - return new_tarval_from_long (get_type_size(get_SymConst_type(n)), mode_Is); + return new_tarval_from_long(get_type_size_bytes(get_SymConst_type(n)), mode_Is); return tarval_bad; } -- 2.20.1