summary refs log tree commit diff stats
path: root/compiler/ccgthreadvars.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2013-08-22 19:28:58 +0200
committerAraq <rumpf_a@web.de>2013-08-22 19:28:58 +0200
commita8c8a85135e73777ea2c115bf1352456c1dd69aa (patch)
treea06a9a97f6e98480d98d6b063dfe224951c233db /compiler/ccgthreadvars.nim
parentcf38d635bf8e94abbc68cca55fd6deb6ebc3da5d (diff)
parentca3a4ce6721c87cfcbb9eb02002ecf8aeb89233c (diff)
downloadNim-a8c8a85135e73777ea2c115bf1352456c1dd69aa.tar.gz
Merge branch 'master' of github.com:Araq/Nimrod
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