Unified · Split
| @@ -5890,13 +5890,7 @@ void gen_op(int op) · 5889 unmodified lines | |||
| 5890 | } | 5890 | } |
| 5891 | type1 = vtop[-1].type; | 5891 | type1 = vtop[-1].type; |
| 5892 | #ifdef TCC_TARGET_X86_64 | 5892 | #ifdef TCC_TARGET_X86_64 |
| 5893 | { | 5893 | vpushll(pointed_size(&vtop[-1].type)); |
| 5894 | CValue cval; | ||
| 5895 | CType ctype; | ||
| 5896 | ctype.t = VT_LLONG; | ||
| 5897 | cval.ull = pointed_size(&vtop[-1].type); | ||
| 5898 | vsetc(&ctype, VT_CONST, &cval); | ||
| 5899 | } | ||
| 5900 | #else | 5894 | #else |
| 5901 | /* XXX: cast to int ? (long long case) */ | 5895 | /* XXX: cast to int ? (long long case) */ |
| 5902 | vpushi(pointed_size(&vtop[-1].type)); | 5896 | vpushi(pointed_size(&vtop[-1].type)); |