use ir_tarval to calculate case values
authorMatthias Braun <matze@braunis.de>
Wed, 24 Oct 2012 16:22:42 +0000 (18:22 +0200)
committerChristoph Mallon <christoph.mallon@gmx.de>
Tue, 30 Oct 2012 09:26:25 +0000 (10:26 +0100)
commit296ba6e16420b89723d1a5b1217d6ecfc2fb0c7d
treeda9c40da04b58082179e47399cb3f8da98024e27
parent5c3e782835e8105b795945ce3324ec7f07db3fdd
use ir_tarval to calculate case values

This avoids problems when handling unsigned long long case values in
the parser, which formerly only used long/int.
Fixes 64bit switches in combination with new libfirm.
ast2firm.c
ast2firm.h
ast_t.h
libfirm
parser.c