diff options
| author | Kai Gunger <kgunger12@gmail.com> | 2026-03-20 17:22:32 -0400 |
|---|---|---|
| committer | Kai Gunger <kgunger12@gmail.com> | 2026-03-20 17:22:32 -0400 |
| commit | 34a791931c82d0fc0b0be954b7498e474086c5a9 (patch) | |
| tree | 83f0a86972dccb4e4bb2e7ea8836ec701ff29a8d /tnslc/compile/function.tnsl | |
| parent | 6fcd9b168c2667c3e757bce7f68377954917224a (diff) | |
[tnslc] fix bug in scope for getting stack locationsorigin
Diffstat (limited to 'tnslc/compile/function.tnsl')
| -rw-r--r-- | tnslc/compile/function.tnsl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tnslc/compile/function.tnsl b/tnslc/compile/function.tnsl index 6f7fceb..a57aa76 100644 --- a/tnslc/compile/function.tnsl +++ b/tnslc/compile/function.tnsl @@ -140,6 +140,8 @@ struct Function { ;/ # Write label and opening + # Nieve implementation: r10-r15 are callee saved registers + # in the TNSL style ABI out.place_base_label() cb`.add_c(" push rbp\n\0") cb`.add_c(" lea rbp, [rsp + 8]\n\0") |