Fix archive issues in cli

This commit is contained in:
nub31
2025-08-18 21:25:03 +02:00
parent 37dd110bb6
commit 7ed1b80c32
8 changed files with 51 additions and 34 deletions

View File

@@ -939,7 +939,7 @@ public class QBEGenerator
{
destination = TmpName();
var size = SizeOf(structInitializer.StructType);
_writer.Indented($"{destination} =l alloc8 {size}");
_writer.Indented($"{destination} =l call $malloc(l {size})");
}
foreach (var field in structDef.Fields)