remove sfFakeConst
This commit is contained in:
parent
a8edf67a28
commit
7d62f031f6
5 changed files with 4 additions and 16 deletions
|
|
@ -269,8 +269,6 @@ proc genConstStmt(p: BProc, t: PNode) =
|
|||
if it.kind != nkConstDef: internalError(t.info, "genConstStmt")
|
||||
var c = it.sons[0].sym
|
||||
if c.typ.containsCompileTimeOnly: continue
|
||||
if sfFakeConst in c.flags:
|
||||
genSingleVar(p, it)
|
||||
elif c.typ.kind in ConstantDataTypes and lfNoDecl notin c.loc.flags and
|
||||
c.ast.len != 0:
|
||||
if not emitLazily(c): requestConstImpl(p, c)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue