diff options
author | Araq <rumpf_a@web.de> | 2014-04-20 14:00:04 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2014-04-20 14:00:04 +0200 |
commit | be6474af638b72aabeb70cfc5f477cc5fb7af0ce (patch) | |
tree | f25002ea96fcfbd69997e22208c55eb3930eeaf0 /compiler/seminst.nim | |
parent | 39e4e3f20570e804e3059574eafe8f78b2d8a9df (diff) | |
download | Nim-be6474af638b72aabeb70cfc5f477cc5fb7af0ce.tar.gz |
removed flawed thread analysis pass
Diffstat (limited to 'compiler/seminst.nim')
-rw-r--r-- | compiler/seminst.nim | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/compiler/seminst.nim b/compiler/seminst.nim index a5149a842..f7d5fa6f8 100644 --- a/compiler/seminst.nim +++ b/compiler/seminst.nim @@ -127,9 +127,6 @@ proc sideEffectsCheck(c: PContext, s: PSym) = if {sfNoSideEffect, sfSideEffect} * s.flags == {sfNoSideEffect, sfSideEffect}: localError(s.info, errXhasSideEffects, s.name.s) - elif sfThread in s.flags and semthreads.needsGlobalAnalysis() and - s.ast.sons[genericParamsPos].kind == nkEmpty: - c.threadEntries.add(s) proc instGenericContainer(c: PContext, info: TLineInfo, header: PType, allowMetaTypes = false): PType = |