This commit is contained in:
Zahary Karadjov 2012-02-03 03:23:43 +02:00
commit c3e790b1ed
2 changed files with 5 additions and 4 deletions

View file

@ -574,8 +574,6 @@ proc deinitFrame(p: BProc): PRope =
proc genProcAux(m: BModule, prc: PSym) =
var p = newProc(prc, m)
var header = genProcHeader(m, prc)
if gCmd != cmdCompileToLLVM and lfExportLib in prc.loc.flags:
header = con("N_LIB_EXPORT ", header)
var returnStmt: PRope = nil
assert(prc.ast != nil)
if sfPure notin prc.flags and prc.typ.sons[0] != nil: