The GC argument is now passed to the compiler and codegen.

This commit is contained in:
Samuel Hammersberg 2023-04-28 14:24:44 +02:00
parent ddffe7913c
commit f9d28028b5
3 changed files with 6 additions and 6 deletions

View file

@ -29,5 +29,5 @@ compileClang =
, "-"
]
compile :: String -> IO String
compile s = optimize s >>= compileClang
compile :: String -> Bool -> IO String
compile s addGc = optimize s >>= compileClang