removed flawed thread analysis pass

This commit is contained in:
Araq 2014-04-20 14:00:04 +02:00
commit be6474af63
17 changed files with 23 additions and 476 deletions

View file

@ -538,7 +538,7 @@ proc typeToString(typ: PType, prefer: TPreferedDesc = preferName): string =
add(prag, "noSideEffect")
if tfThread in t.flags:
addSep(prag)
add(prag, "thread")
add(prag, "gcsafe")
if len(prag) != 0: add(result, "{." & prag & ".}")
of tyVarargs, tyIter:
result = typeToStr[t.kind] % typeToString(t.sons[0])