summary refs log tree commit diff
path: root/execution-support.e
diff options
context:
space:
mode:
authorIrene Knapp <ireneista@irenes.space>2026-05-20 00:34:28 -0700
committerIrene Knapp <ireneista@irenes.space>2026-05-20 00:34:28 -0700
commit25bb4c7651323b6879064cfdfb74d1771f56abca (patch)
tree6452f1664d148f18d7c1b1f1c48fcd594bac28a2 /execution-support.e
parenta89cd2c5f5f618eeab16fbef482f30f12640f58b (diff)
add a really powerful stack depth tracking feature for transforms to use
also said feature seems to work, which is flatly astonishing

just a little more now...

Force-Push: yes
Change-Id: I1bda7e99e524ac73a761859e86e01251e7d17525
Diffstat (limited to 'execution-support.e')
-rw-r--r--execution-support.e2
1 files changed, 2 insertions, 0 deletions
diff --git a/execution-support.e b/execution-support.e
index b668157..67f9162 100644
--- a/execution-support.e
+++ b/execution-support.e
@@ -95,11 +95,13 @@
 ~
 ~ * rbp points to the top of the control stack.
 ~
+~ TODO can this be correct? it seems backwards?
 ~ (source register, base address -- new base address)
 : pack-pushcontrol
   swap :rbp -8 :rbp lea-reg64-disp8-reg64
   swap :rbp 0 mov-disp8-reg64-reg64 ;
 
+~ TODO can this be correct? it seems backwards?
 ~ (target register, base address -- new base address)
 : pack-popcontrol
   :rbp 0 3roll mov-reg64-disp8-reg64