don't use sfExported for sig hashing
This commit is contained in:
parent
78d68f0882
commit
e07f0170e3
1 changed files with 1 additions and 1 deletions
|
|
@ -38,7 +38,7 @@ when false:
|
||||||
result = gDebugInfo.register(p.name.s, m.name.s)
|
result = gDebugInfo.register(p.name.s, m.name.s)
|
||||||
|
|
||||||
proc idOrSig(m: BModule; s: PSym): Rope =
|
proc idOrSig(m: BModule; s: PSym): Rope =
|
||||||
if s.kind in routineKinds and s.typ != nil and sfExported in s.flags and
|
if s.kind in routineKinds and s.typ != nil and
|
||||||
s.typ.callConv != ccInline:
|
s.typ.callConv != ccInline:
|
||||||
# signatures for exported routines are reliable enough to
|
# signatures for exported routines are reliable enough to
|
||||||
# produce a unique name and this means produced C++ is more stable wrt
|
# produce a unique name and this means produced C++ is more stable wrt
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue