diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-05-02 19:36:50 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-05-02 19:37:27 +0900 |
| commit | ee7da1ce9c1efd76bf02e7a5d2591bf8099ef0ca (patch) | |
| tree | 12c5bfb3999a738bd4286334f0bb623bac0f81c9 /tests/invalid_directives.sh | |
| parent | 76654319325efadf9ef19f4ce181397ad53f6914 (diff) | |
| download | ducc-ee7da1ce9c1efd76bf02e7a5d2591bf8099ef0ca.tar.gz ducc-ee7da1ce9c1efd76bf02e7a5d2591bf8099ef0ca.tar.zst ducc-ee7da1ce9c1efd76bf02e7a5d2591bf8099ef0ca.zip | |
fix: stack offset calculation of local variables of functions having many parameters
`calc_lvar_stack_offset()` previously only checked the offset of the last local variables, but it might be a
passed-by-stack parameter, which had a negative stack offset.
With this change, `calc_lvar_stack_offset()` finds the maximum *positive* offset from local variables.
Diffstat (limited to 'tests/invalid_directives.sh')
0 files changed, 0 insertions, 0 deletions
