History

Code cleaning: utilize vpushll().

Shinichiro Hamaji committed 17 years ago

Commit 006c9071 parent 4f056031 file · +1 −7Browse files

Unified · Split

tcc.c+1−7
@@ -5890,13 +5890,7 @@ void gen_op(int op) · 5889 unmodified lines
58905890 }
58915891 type1 = vtop[-1].type;
58925892 #ifdef TCC_TARGET_X86_64
5893− {
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− }
5893+ vpushll(pointed_size(&vtop[-1].type));
59005894 #else
59015895 /* XXX: cast to int ? (long long case) */
59025896 vpushi(pointed_size(&vtop[-1].type));

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t