aboutsummaryrefslogtreecommitdiff
path: root/tcc.h
diff options
context:
space:
mode:
authorgrischka <grischka>2017-02-08 19:45:31 +0100
committergrischka <grischka>2017-02-08 19:45:31 +0100
commit68666eee2ade45ab73b07361367d0a38d350d663 (patch)
tree1cb0bdc6b04665e96ba563a137bea20bf909fdca /tcc.h
parentf077d16c20c524d7db8cb38a9193242eeade343d (diff)
downloadtinycc-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.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/tcc.h b/tcc.h
index 7997e86..e500140 100644
--- a/tcc.h
+++ b/tcc.h
@@ -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);