aboutsummaryrefslogtreecommitdiff
path: root/src/codegen.zig
diff options
context:
space:
mode:
authorDavid Rubin <daviru007@icloud.com>2024-07-15 03:37:06 -0700
committerDavid Rubin <daviru007@icloud.com>2024-07-26 04:05:41 -0700
commit81ca3a1d594cb25dcd7dbedf175dd9931cad0d0f (patch)
treea192c596e186cca2bcd37808eeda28a456613ad2 /src/codegen.zig
parentcde6956b2128d9c28b00e0e25e27346abd1c3a88 (diff)
downloadzig-81ca3a1d594cb25dcd7dbedf175dd9931cad0d0f.tar.gz
zig-81ca3a1d594cb25dcd7dbedf175dd9931cad0d0f.zip
riscv: fix logic bug in `ptr_elem_ptr`
I was doing duplicate work with `elemOffset` multiplying by the abi size and then the `ptr_add` `genBinOp` also multiplying. This led to having writes happening in the wrong place.
Diffstat (limited to 'src/codegen.zig')
0 files changed, 0 insertions, 0 deletions