diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2020-03-18 23:52:49 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-18 23:52:49 +0100 |
commit | 15ba765ebd83e44d18a0a2c23016bdf3b4bbecca (patch) | |
tree | 5005cd7ea1d61b1e8ecc76d002c98d52f6c141cb /lib/system/mm | |
parent | a0ccfd16a77ea0e9ef3077dadf62de5fe9c52004 (diff) | |
download | Nim-15ba765ebd83e44d18a0a2c23016bdf3b4bbecca.tar.gz |
enable --tlsEmulation:on for --gc:arc (#13685)
* enable --tlsEmulation:on for --gc:arc * make -d:useMalloc work with --gc:arc --threads:on
Diffstat (limited to 'lib/system/mm')
-rw-r--r-- | lib/system/mm/malloc.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/system/mm/malloc.nim b/lib/system/mm/malloc.nim index 27e32f87d..ad510cef2 100644 --- a/lib/system/mm/malloc.nim +++ b/lib/system/mm/malloc.nim @@ -75,6 +75,6 @@ proc alloc(r: var MemRegion, size: int): pointer = proc alloc0Impl(r: var MemRegion, size: int): pointer = result = alloc0Impl(size) proc dealloc(r: var MemRegion, p: pointer) = dealloc(p) -proc deallocOsPages(r: var MemRegion) {.inline.} = discard -proc deallocOsPages() {.inline.} = discard +proc deallocOsPages(r: var MemRegion) = discard +proc deallocOsPages() = discard |