[cleanup] remove unnecessary procs in vm (#19888)

remove unused procs
This commit is contained in:
flywind 2022-06-13 14:10:40 +08:00 • committed by GitHub
commit 2f4900615a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 6 deletions

View file

@ -2252,7 +2252,6 @@ proc setupMacroParam(x: PNode, typ: PType): TFullReg =
else:
var n = x
if n.kind in {nkHiddenSubConv, nkHiddenStdConv}: n = n[1]
n = n.canonValue
n.flags.incl nfIsRef
n.typ = x.typ
result = TFullReg(kind: rkNode, node: n)