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 /arm64-gen.c | |
| 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 'arm64-gen.c')
| -rw-r--r-- | arm64-gen.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/arm64-gen.c b/arm64-gen.c index 62447e7..0c435d9 100644 --- a/arm64-gen.c +++ b/arm64-gen.c @@ -14,8 +14,6 @@ // Number of registers available to allocator: #define NB_REGS 28 // x0-x18, x30, v0-v7 -typedef int RegArgs; - #define TREG_R(x) (x) // x = 0..18 #define TREG_R30 19 #define TREG_F(x) (x + 20) // x = 0..7 @@ -1198,15 +1196,8 @@ ST_FUNC void gen_va_arg(CType *t) } } -ST_FUNC int regargs_nregs(RegArgs *args) +ST_FUNC int gfunc_sret(CType *vt, int variadic, CType *ret, int *align, int *regsize) { - return *args; -} - -ST_FUNC int gfunc_sret(CType *vt, int variadic, CType *ret, int *align, int *regsize, RegArgs *args) -{ - *args = 0; - return 0; } |
