From 006c907da7dfdd1ef9a5042fa0c60440656fad24 Mon Sep 17 00:00:00 2001 From: Shinichiro Hamaji Date: Mon, 16 Mar 2009 02:27:23 +0900 Subject: [PATCH] Code cleaning: utilize vpushll(). --- tcc.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/tcc.c b/tcc.c index 3e40300..e483d92 100644 --- a/tcc.c +++ b/tcc.c @@ -5890,13 +5890,7 @@ void gen_op(int op) } type1 = vtop[-1].type; #ifdef TCC_TARGET_X86_64 - { - CValue cval; - CType ctype; - ctype.t = VT_LLONG; - cval.ull = pointed_size(&vtop[-1].type); - vsetc(&ctype, VT_CONST, &cval); - } + vpushll(pointed_size(&vtop[-1].type)); #else /* XXX: cast to int ? (long long case) */ vpushi(pointed_size(&vtop[-1].type));