summary refs log tree commit diff stats
path: root/compiler/ccgthreadvars.nim
diff options
context:
space:
mode:
authorZahary Karadjov <zahary@gmail.com>2013-08-19 01:27:05 +0300
committerZahary Karadjov <zahary@gmail.com>2013-08-19 01:27:05 +0300
commit6ddd4e6a3f46f4fdcaec8ae0b08758858085ec26 (patch)
treee4bb51be6eba2e9433c4cee875882c41ddb0f3b3 /compiler/ccgthreadvars.nim
parentdfb5cb3c5d9c3981cd02d3fa27221e0b7f5af1e8 (diff)
downloadNim-6ddd4e6a3f46f4fdcaec8ae0b08758858085ec26.tar.gz
Revert "Revert "bugfix: emulated thread vars used in combination with the mark & sweep GC""
This reverts commit 75c586bbe1cc649b36fc00362ab40ebb1d163d9f.
Diffstat (limited to 'compiler/ccgthreadvars.nim')
-rw-r--r--compiler/ccgthreadvars.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/ccgthreadvars.nim b/compiler/ccgthreadvars.nim
index 4785402e7..d312ea027 100644
--- a/compiler/ccgthreadvars.nim
+++ b/compiler/ccgthreadvars.nim
@@ -12,10 +12,10 @@
 
 # included from cgen.nim
 
-proc emulatedThreadVars(): bool {.inline.} =
+proc emulatedThreadVars(): bool =
   result = {optThreads, optTlsEmulation} <= gGlobalOptions
 
-proc AccessThreadLocalVar(p: BProc, s: PSym) =
+proc accessThreadLocalVar(p: BProc, s: PSym) =
   if emulatedThreadVars() and not p.ThreadVarAccessed:
     p.ThreadVarAccessed = true
     p.module.usesThreadVars = true