This commit is contained in:
nub31
2025-06-15 01:47:10 +02:00
parent 7c05870e24
commit 3f7499d2b9
10 changed files with 63 additions and 50 deletions

View File

@@ -89,6 +89,10 @@ foreach (var compilationUnit in compilationUnits)
File.WriteAllText(ssaPath, ssa);
var asm = await QBE.Invoke(ssa);
if (asm == null)
{
return 1;
}
var asmPath = Path.ChangeExtension(outputPath, "s");
await File.WriteAllTextAsync(asmPath, asm);