Skip to content

Commit d5e3371

Browse files
authored
Update Codegen.hs:codegenProg haddocks
- There was no "Bool" flag since 5 years ago (7c2f10f) - the main expression is called "gibbon_main" these days [skip ci]
1 parent 3e61945 commit d5e3371

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)