diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2018-09-07 20:09:33 -0400 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2018-09-07 20:09:33 -0400 |
| commit | 9c169f3cf763c58f91b485f907f80cd8d08c4e12 (patch) | |
| tree | a6260d6bf626e87f22630cf466ce856cdec14531 /src/all_types.hpp | |
| parent | 9017efee220950b11070242415b6dc456d4442df (diff) | |
| download | zig-9c169f3cf763c58f91b485f907f80cd8d08c4e12.tar.gz zig-9c169f3cf763c58f91b485f907f80cd8d08c4e12.zip | |
C ABI: support returning large structs on x86_64
also panic instead of emitting bad code for returning small structs
See #1481
Diffstat (limited to 'src/all_types.hpp')
| -rw-r--r-- | src/all_types.hpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/all_types.hpp b/src/all_types.hpp index b80fe17053..6adb53b774 100644 --- a/src/all_types.hpp +++ b/src/all_types.hpp @@ -40,6 +40,13 @@ struct Tld; struct TldExport; struct IrAnalyze; +enum X64CABIClass { + X64CABIClass_Unknown, + X64CABIClass_MEMORY, + X64CABIClass_INTEGER, + X64CABIClass_SSE, +}; + struct IrExecutable { ZigList<IrBasicBlock *> basic_block_list; Buf *name; |
