diff options
| author | Luuk de Gram <luuk@degram.dev> | 2022-05-23 18:24:03 +0200 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2022-05-24 15:34:52 -0700 |
| commit | c90a97f9be9ffef858b0e450de5006f61a12fafd (patch) | |
| tree | c8ba955be7b7cd81230a2e0da39f2c36e73a681e /src/codegen | |
| parent | 3264abe3d8f658e1b7275d2be80e43eddfc098dc (diff) | |
| download | zig-c90a97f9be9ffef858b0e450de5006f61a12fafd.tar.gz zig-c90a97f9be9ffef858b0e450de5006f61a12fafd.zip | |
codegen: Order error union fields per alignment
Based on the size of the payload the native backends will lower
the error union with its fields (errorset & payload) in the correct order.
e.g. ErrorA!u8 will first lower the error set's value and then the payload.
In the event of ErrorA!u32 will lower the payload first.
Diffstat (limited to 'src/codegen')
0 files changed, 0 insertions, 0 deletions
