From 34a791931c82d0fc0b0be954b7498e474086c5a9 Mon Sep 17 00:00:00 2001 From: Kai Gunger Date: Fri, 20 Mar 2026 17:22:32 -0400 Subject: [tnslc] fix bug in scope for getting stack locations --- tnslc/compile/function.tnsl | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tnslc/compile/function.tnsl') 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") -- cgit v1.2.3