This commit is contained in:
Andreas Rumpf 2017-09-21 21:07:18 +02:00
commit 3936587c06
2 changed files with 26 additions and 15 deletions

View file

@ -747,9 +747,8 @@ type
OnUnknown, # location is unknown (stack, heap or static)
OnStatic, # in a static section
OnStack, # location is on hardware stack
OnHeap, # location is on heap or global
OnHeap # location is on heap or global
# (reference counting needed)
OnHeapNew # location is on the heap and was just new()'ed
TLocFlags* = set[TLocFlag]
TLoc* = object
k*: TLocKind # kind of location