about summary refs log tree commit diff stats
path: root/subx/055trace.subx
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2018-12-04 00:29:06 -0800
committerKartik Agaram <vc@akkartik.com>2018-12-04 00:29:06 -0800
commitcf02c20bb02f5d2fbfee5557baf68c0e2ca5a042 (patch)
tree8f1d896a0134e8353ccf01add61fb6c732103861 /subx/055trace.subx
parent7cb326df5bb9739d948dd4f8b32019f1bf6e4ef3 (diff)
downloadmu-cf02c20bb02f5d2fbfee5557baf68c0e2ca5a042.tar.gz
4832
Let's start adding ':end' labels in all functions, just because it helps
us visualize where function calls end in traces, thanks to the '--map'
commandline argument.
Diffstat (limited to 'subx/055trace.subx')
-rw-r--r--subx/055trace.subx1
1 files changed, 1 insertions, 0 deletions
diff --git a/subx/055trace.subx b/subx/055trace.subx
index 37c91249..f502f18a 100644
--- a/subx/055trace.subx
+++ b/subx/055trace.subx
@@ -299,6 +299,7 @@ _append-3:  # out : address, outend : address, s : (array byte) -> num_bytes_app
     e8/call  _append-4/disp32
     # . . discard args
     81          0/subop/add         3/mod/direct    4/rm32/ESP    .           .             .           .           .               0x10/imm32        # add to ESP
+$_append-3:end:
     # . restore registers
     59/pop-to-ECX
     # . epilog