diff options
| author | David Rubin <daviru007@icloud.com> | 2024-03-24 19:39:37 -0700 |
|---|---|---|
| committer | David Rubin <daviru007@icloud.com> | 2024-05-11 02:17:11 -0700 |
| commit | c96989aa4b283c5d386c5f19e2b12a6b13dd521a (patch) | |
| tree | 5febf790a416e5168cb9d0a08c6a2c6360b59528 /src/codegen | |
| parent | 09b7aabe094c11d7e4772c2e0c67ec7c28672266 (diff) | |
| download | zig-c96989aa4b283c5d386c5f19e2b12a6b13dd521a.tar.gz zig-c96989aa4b283c5d386c5f19e2b12a6b13dd521a.zip | |
riscv: correctly index struct field access
when the struct is in stack memory, we access it using a byte-offset,
because that's how the stack works. on the other hand when the struct
is in a register, we are working with bits and the field offset should
be a bit offset.
Diffstat (limited to 'src/codegen')
0 files changed, 0 insertions, 0 deletions
