unused constants are optimized away
This commit is contained in:
parent
c8dda8cc6f
commit
fedc69f61a
4 changed files with 47 additions and 39 deletions
|
|
@ -1674,7 +1674,7 @@ proc genArrayConstr(p: BProc, n: PNode, d: var TLoc) =
|
|||
expr(p, n.sons[i], arr)
|
||||
|
||||
proc genComplexConst(p: BProc, sym: PSym, d: var TLoc) =
|
||||
genConstPrototype(p.module, sym)
|
||||
requestConstImpl(p, sym)
|
||||
assert((sym.loc.r != nil) and (sym.loc.t != nil))
|
||||
putLocIntoDest(p, d, sym.loc)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue