destructors: first version of 'sink' parameter logic

This commit is contained in:
Andreas Rumpf 2018-03-31 20:27:08 +02:00
commit 455dd36135
2 changed files with 33 additions and 47 deletions

View file

@ -453,8 +453,6 @@ type
nfPreventCg # this node should be ignored by the codegen
nfBlockArg # this a stmtlist appearing in a call (e.g. a do block)
nfFromTemplate # a top-level node returned from a template
nfPreventDestructor # prevent destructor injectsion for the node
# (but not necessarily its children)
TNodeFlags* = set[TNodeFlag]
TTypeFlag* = enum # keep below 32 for efficiency reasons (now: beyond that)