summaryrefslogtreecommitdiff
path: root/tnslc/compile/var.tnsl
diff options
context:
space:
mode:
authorKai Gunger <kgunger12@gmail.com>2025-12-29 00:12:15 -0500
committerKai Gunger <kgunger12@gmail.com>2025-12-29 00:12:15 -0500
commit3a98cbd4d96041e78cb8748d674e9d5ea311054e (patch)
tree96f5758082dcc8e1d778a14281675fe945a96298 /tnslc/compile/var.tnsl
parent053876f61cc07c0d4a57b7b64a85e6b5fc23509a (diff)
find existing uninitialized instead of copying new
Diffstat (limited to 'tnslc/compile/var.tnsl')
-rw-r--r--tnslc/compile/var.tnsl1
1 files changed, 1 insertions, 0 deletions
diff --git a/tnslc/compile/var.tnsl b/tnslc/compile/var.tnsl
index 0dc0586..3bf8b5e 100644
--- a/tnslc/compile/var.tnsl
+++ b/tnslc/compile/var.tnsl
@@ -174,6 +174,7 @@ struct Var {
self.ptrc.push(~ptr)
;/
+ # Whether the variable can be stored within a register
/; regable [bool]
~int p
/; loop (int i = 0; i < self.ptrc.count) [i++]