1
0
mirror of https://github.com/dschmenk/PLASMA.git synced 2026-04-25 20:19:23 +00:00

Fix datasize adjustment when no global data emitted

This commit is contained in:
David Schmenk
2025-01-14 10:13:58 -08:00
parent 08db20753b
commit 18cf6aea8b
+1
View File
@@ -128,6 +128,7 @@ end
def emit_codeseg#0
if lastglobalsize == 0
emit_byte($00) // Pad byte between last data tag and code seg
datasize++
fin
end
def emit_const(cval)#0