diff options
| author | grischka <grischka> | 2017-02-08 19:45:31 +0100 |
|---|---|---|
| committer | grischka <grischka> | 2017-02-08 19:45:31 +0100 |
| commit | 68666eee2ade45ab73b07361367d0a38d350d663 (patch) | |
| tree | 1cb0bdc6b04665e96ba563a137bea20bf909fdca /tcc.h | |
| parent | f077d16c20c524d7db8cb38a9193242eeade343d (diff) | |
| download | tinycc-68666eee2ade45ab73b07361367d0a38d350d663.tar.gz tinycc-68666eee2ade45ab73b07361367d0a38d350d663.tar.bz2 | |
tccgen: factor out gfunc_return
Also:
- on windows i386 and x86-64, structures of size <= 8 are
NOT returned in registers if size is not one of 1,2,4,8.
- cleanup: put all tv-push/pop/swap/rot into one place
Diffstat (limited to 'tcc.h')
| -rw-r--r-- | tcc.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -1273,7 +1273,6 @@ ST_FUNC void check_vstack(void); ST_INLN int is_float(int t); ST_FUNC int ieee_finite(double d); ST_FUNC void test_lvalue(void); -ST_FUNC void swap(int *p, int *q); ST_FUNC void vpushi(int v); ST_FUNC Sym *external_global_sym(int v, CType *type, int r); ST_FUNC void vset(CType *type, int r, long v); @@ -1519,7 +1518,7 @@ ST_FUNC void gen_cvt_itof1(int t); #ifdef TCC_TARGET_ARM64 ST_FUNC void gen_cvt_sxtw(void); ST_FUNC void gen_opl(int op); -ST_FUNC void greturn(void); +ST_FUNC void gfunc_return(CType *func_type); ST_FUNC void gen_va_start(void); ST_FUNC void gen_va_arg(CType *t); ST_FUNC void gen_clear_cache(void); |
