We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3e61945 + d5e3371 commit 9adcc1bCopy full SHA for 9adcc1b
gibbon-compiler/src/Gibbon/Passes/Codegen.hs
@@ -184,10 +184,8 @@ sortFns (Prog _ _ funs mtal) = foldl go S.empty allTails
184
--------------------------------------------------------------------------------
185
-- * C codegen
186
187
--- | Compile a program to C code which has the side effect of the
188
--- "main" expression in that program.
189
---
190
--- The boolean flag is true when we are compiling in "Packed" mode.
+-- | Compile a program to C code that has the side effect of the
+-- "gibbon_main" expression in that program.
191
codegenProg :: Config -> Prog -> IO String
192
codegenProg cfg prg@(Prog info_tbl sym_tbl funs mtal) =
193
return (hashIncludes ++ pretty 80 (stack (map ppr defs)))
0 commit comments