From 132279939f8266e7bbd0e07f66926e36b50c35b2 Mon Sep 17 00:00:00 2001 From: CircleShift Date: Mon, 22 Dec 2025 02:33:29 -0500 Subject: better locations --- tnslc/compile/function.tnsl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tnslc/compile/function.tnsl') diff --git a/tnslc/compile/function.tnsl b/tnslc/compile/function.tnsl index 0ad8e6f..682236b 100644 --- a/tnslc/compile/function.tnsl +++ b/tnslc/compile/function.tnsl @@ -37,8 +37,8 @@ struct Function { p.loc = reg reg++ ;; else - p.loc = 0 - p.loc = p.loc - stack_down + p.loc = 0 - 1 + p.offset = 0 - stack_down stack_down = stack_down - p.actual_size() ;/ self.inputs.push(~p) -- cgit v1.2.3