clean ups

This commit is contained in:
ringabout
2026-01-13 15:36:23 +08:00
parent 30cbd25266
commit 02e389522e
2 changed files with 0 additions and 11 deletions

View File

@@ -116,16 +116,6 @@ proc `transformedBody=`*(s: PSym, val: PNode) {.inline.} =
if s.state == Partial: loadSym(s)
s.transformedBodyImpl = val
proc closureBody*(s: PSym): PNode {.inline.} =
if s.state == Partial: loadSym(s)
result = s.closureBodyImpl
proc `closureBody=`*(s: PSym, val: PNode) {.inline.} =
#assert s.state != Sealed
# Make an exception here for this misfeature...
if s.state == Partial: loadSym(s)
s.closureBodyImpl = val
proc guard*(s: PSym): PSym {.inline.} =
if s.state == Partial: loadSym(s)
result = s.guardImpl

View File

@@ -705,7 +705,6 @@ type
#procInstCache*: seq[PInstantiation]
gcUnsafetyReasonImpl*: PSym # for better error messages regarding gcsafe
transformedBodyImpl*: PNode # cached body after transf pass
closureBodyImpl*: PNode # cached body after closure conversion
of skLet, skVar, skField, skForVar:
guardImpl*: PSym
bitsizeImpl*: int