diff options
author | Araq <rumpf_a@web.de> | 2011-05-19 23:23:10 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2011-05-19 23:23:10 +0200 |
commit | c70fa87471c6963dd39653358e2f0f8ac59797d9 (patch) | |
tree | 940c845270b2001b1834c880cbb509b05e5a5ed3 /lib/system.nim | |
parent | 9b460a71cef95cea944d637b7e8bb6c785317a34 (diff) | |
download | Nim-c70fa87471c6963dd39653358e2f0f8ac59797d9.tar.gz |
further progress for multi-threading
Diffstat (limited to 'lib/system.nim')
-rwxr-xr-x | lib/system.nim | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/system.nim b/lib/system.nim index b8093cdad..9a9e4fb06 100755 --- a/lib/system.nim +++ b/lib/system.nim @@ -1461,7 +1461,8 @@ when not defined(EcmaScript) and not defined(NimrodVM): # Linux 64bit system. Very strange, but we are at the will of GCC's # optimizer... var locals {.volatile.}: pointer - setStackBottom(addr(locals)) + locals = addr(locals) + setStackBottom(locals) var strDesc: TNimType |