mirror of
https://github.com/frida/tinycc
synced 2025-01-01 17:44:26 +03:00
Code cleaning: utilize vpushll().
This commit is contained in:
parent
4f056031f4
commit
006c907da7
8
tcc.c
8
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));
|
||||
|
Loading…
Reference in New Issue
Block a user