ORC: improvements (#17993)

* ORC: improvements
* ORC: fix .acyclic annotation for ref objects
This commit is contained in:
Andreas Rumpf 2021-05-12 07:15:05 +02:00 • committed by GitHub
commit 39ad9a69a9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 18 additions and 12 deletions

View file

@ -64,7 +64,7 @@ proc cacheTypeInst(c: PContext; inst: PType) =
addToGenericCache(c, gt.sym, inst)
type
LayeredIdTable* = ref object
LayeredIdTable* {.acyclic.} = ref object
topLayer*: TIdTable
nextLayer*: LayeredIdTable