summary refs log tree commit diff stats
path: root/compiler
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2016-12-07 13:41:18 +0100
committerAraq <rumpf_a@web.de>2016-12-07 13:41:18 +0100
commite07f0170e3c3fefaf59d7443f8f82ab43728a4a2 (patch)
tree32b588d7385a7ae488159b4da34326983100e1ef /compiler
parent78d68f0882047d00027907b50746224bf5123f7f (diff)
downloadNim-e07f0170e3c3fefaf59d7443f8f82ab43728a4a2.tar.gz
don't use sfExported for sig hashing
Diffstat (limited to 'compiler')
-rw-r--r--compiler/ccgtypes.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/ccgtypes.nim b/compiler/ccgtypes.nim
index baaf76111..91086e642 100644
--- a/compiler/ccgtypes.nim
+++ b/compiler/ccgtypes.nim
@@ -38,7 +38,7 @@ when false:
     result = gDebugInfo.register(p.name.s, m.name.s)
 
 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:
     # signatures for exported routines are reliable enough to
     # produce a unique name and this means produced C++ is more stable wrt