fixes a critical codegen bug that keeps PR #4017 from working
This commit is contained in:
parent
3b732259c0
commit
f0c19e9e67
1 changed files with 1 additions and 2 deletions
|
|
@ -1059,9 +1059,8 @@ proc genModule(m: BModule, cfile: string): Rope =
|
|||
result = getFileHeader(cfile)
|
||||
result.add(genMergeInfo(m))
|
||||
|
||||
generateHeaders(m)
|
||||
|
||||
generateThreadLocalStorage(m)
|
||||
generateHeaders(m)
|
||||
for i in countup(cfsHeaders, cfsProcs):
|
||||
add(result, genSectionStart(i))
|
||||
add(result, m.s[i])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue