Removed GC, merge it into main to save correct commit history
This commit is contained in:
parent
a720b9ffd8
commit
677a200a15
42 changed files with 4 additions and 3238 deletions
|
|
@ -138,7 +138,8 @@ main' opts s =
|
|||
log monomorphized
|
||||
|
||||
printToErr "\n -- Compiler --"
|
||||
generatedCode <- fromErr $ generateCode monomorphized (gc opts)
|
||||
-- generatedCode <- fromErr $ generateCode monomorphized (gc opts)
|
||||
generatedCode <- fromErr $ generateCode monomorphized False
|
||||
|
||||
check <- doesPathExist "output"
|
||||
when check (removeDirectoryRecursive "output")
|
||||
|
|
@ -148,7 +149,8 @@ main' opts s =
|
|||
writeFile "output/llvm.ll" generatedCode
|
||||
debugDotViz
|
||||
|
||||
compile generatedCode (gc opts)
|
||||
-- compile generatedCode (gc opts)
|
||||
compile generatedCode False
|
||||
printToErr "Compilation done!"
|
||||
printToErr "\n-- Program output --"
|
||||
print =<< spawnWait "./output/hello_world"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue