Merge pull request #1281 from Araq/new_spawn

New spawn
This commit is contained in:
Andreas Rumpf 2014-06-16 23:03:17 +02:00
commit 2ec1501c7a
42 changed files with 2115 additions and 192 deletions

View file

@ -91,6 +91,7 @@ type
generics*: seq[TInstantiationPair] # pending list of instantiated generics to compile
lastGenericIdx*: int # used for the generics stack
hloLoopDetector*: int # used to prevent endless loops in the HLO
inParallelStmt*: int
proc makeInstPair*(s: PSym, inst: PInstantiation): TInstantiationPair =
result.genericSym = s