# riscv: fix how we calculate stack offsets\. allows for pass by reference arguments\. · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/06089fc89a47e6ae84d09e6e21db23b7a57f885e)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 06089fc89a47e6ae84d09e6e21db23b7a57f885e

Requested commit: 06089fc89a47e6ae84d09e6e21db23b7a57f885e

Commit: 06089fc89a47e6ae84d09e6e21db23b7a57f885e

Tree: 343cb80d558948d9ecc4e2940920c950cb10828b

Author: David Rubin

Committer: David Rubin

## Message

```
riscv: fix how we calculate stack offsets. allows for pass by reference arguments.

```

## Parents

- [c96989aa4b283c5d386c5f19e2b12a6b13dd521a](https://git.cafe/gitcafe/zig/commit/c96989aa4b283c5d386c5f19e2b12a6b13dd521a?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/06089fc89a47e6ae84d09e6e21db23b7a57f885e?format=markdown)
