summary refs log tree commit diff
path: root/execution.e
diff options
context:
space:
mode:
authorIrene Knapp <ireneista@irenes.space>2026-05-15 05:15:39 -0700
committerIrene Knapp <ireneista@irenes.space>2026-05-15 05:15:39 -0700
commit2cf147357ce578c3bc589b894930c71d709022e1 (patch)
treef1614ccc11f2223ba3a81ecf043073ac33724fc0 /execution.e
parentefaa8eeb003c3a36af18bf606d0fe524177e5729 (diff)
fix things up so it gets through cold-start
then it crashes on warm-start because warm-start doesn't exist yet

Force-Push: yes
Change-Id: I9eba481b31d48f9d32c3790f296204c5c8d90938
Diffstat (limited to 'execution.e')
-rw-r--r--execution.e4
1 files changed, 2 insertions, 2 deletions
diff --git a/execution.e b/execution.e
index 9ddcec6..04c859b 100644
--- a/execution.e
+++ b/execution.e
@@ -463,7 +463,7 @@
 
   ~   We are about to set up rsi, we did rbp already, and rsp came to us
   ~ already set up. That's all that "next" needs, so take it away!
-  L@' warm-start :rsi mov-reg64-imm64
+  L@' warm-start origin + :rsi mov-reg64-imm64
   pack-next ;
 
 ~ Routine warm-start
@@ -592,7 +592,7 @@
   ~ Since docol is not a normal word, the label points to the value we care
   ~ about from the assembly side of things, which is the address we use as the
   ~ codeword.
-  L!' docol
+  current-offset L!' docol
   :rsi pack-pushcontrol
   8 :rax add-reg64-imm8
   :rax :rsi mov-reg64-reg64