mirror of
https://github.com/nim-lang/Nim.git
synced 2026-02-11 22:08:54 +00:00
clean ups
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user