Skip to content

Commit 9adcc1b

Browse files
authored
Merge pull request #234 from ulysses4ever/patch-1
Update Codegen.hs:codegenProg haddocks
2 parents 3e61945 + d5e3371 commit 9adcc1b

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

gibbon-compiler/src/Gibbon/Passes/Codegen.hs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -184,10 +184,8 @@ sortFns (Prog _ _ funs mtal) = foldl go S.empty allTails
184184
--------------------------------------------------------------------------------
185185
-- * C codegen
186186

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.
187+
-- | Compile a program to C code that has the side effect of the
188+
-- "gibbon_main" expression in that program.
191189
codegenProg :: Config -> Prog -> IO String
192190
codegenProg cfg prg@(Prog info_tbl sym_tbl funs mtal) =
193191
return (hashIncludes ++ pretty 80 (stack (map ppr defs)))

0 commit comments

Comments
 (0)