fixes a critical codegen bug triggered by .async

This commit is contained in:
Araq 2015-09-10 08:32:39 +02:00
commit ffe51966b9
4 changed files with 72 additions and 52 deletions

View file

@ -709,6 +709,7 @@ type
lfSingleUse # no location yet and will only be used once
TStorageLoc* = enum
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
# (reference counting needed)