diff options
| author | gus knight <waddlesplash@gmail.com> | 2015-07-29 16:57:41 -0400 |
|---|---|---|
| committer | gus knight <waddlesplash@gmail.com> | 2015-07-29 16:57:41 -0400 |
| commit | ef3d38c5c9d534099aae61651da3c3aa1ad3c6ab (patch) | |
| tree | ca58efb50bb6158a52a57ce5c9279baf6c6db3ec /tcc.h | |
| parent | 89ad24e7d63f7488c2796b30d41303f52663a8c4 (diff) | |
| download | tinycc-ef3d38c5c9d534099aae61651da3c3aa1ad3c6ab.tar.gz tinycc-ef3d38c5c9d534099aae61651da3c3aa1ad3c6ab.tar.bz2 | |
Revert "fix-mixed-struct (patch by Pip Cet)"
This reverts commit 4e04f67c94c97b4f28a4d73759a0ad38fb3a10f7. Requested by grischka.
Diffstat (limited to 'tcc.h')
| -rw-r--r-- | tcc.h | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -796,8 +796,8 @@ struct TCCState { #define VT_LLONG 12 /* 64 bit integer */ #define VT_LONG 13 /* long integer (NEVER USED as type, only during parsing) */ -#define VT_QLONG 14 /* 128-bit integer. No longer used. */ -#define VT_QFLOAT 15 /* 128-bit float. No longer used. */ +#define VT_QLONG 14 /* 128-bit integer. Only used for x86-64 ABI */ +#define VT_QFLOAT 15 /* 128-bit float. Only used for x86-64 ABI */ #define VT_UNSIGNED 0x0010 /* unsigned type */ #define VT_ARRAY 0x0020 /* array type (also has VT_PTR) */ #define VT_BITFIELD 0x0040 /* bitfield modifier */ @@ -1267,7 +1267,6 @@ ST_FUNC void save_regs(int n); ST_FUNC void gaddrof(void); ST_FUNC int gv(int rc); ST_FUNC void gv2(int rc1, int rc2); -ST_FUNC void vdup(void); ST_FUNC void vpop(void); ST_FUNC void gen_op(int op); ST_FUNC int type_size(CType *type, int *a); @@ -1356,8 +1355,7 @@ ST_FUNC void gsym_addr(int t, int a); ST_FUNC void gsym(int t); ST_FUNC void load(int r, SValue *sv); ST_FUNC void store(int r, SValue *v); -ST_FUNC int regargs_nregs(RegArgs *args); -ST_FUNC int gfunc_sret(CType *vt, int variadic, CType *ret, int *align, int *regsize, RegArgs *args); +ST_FUNC int gfunc_sret(CType *vt, int variadic, CType *ret, int *align, int *regsize); ST_FUNC void gfunc_call(int nb_args); ST_FUNC void gfunc_prolog(CType *func_type); ST_FUNC void gfunc_epilog(void); |
