diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2019-09-06 18:05:58 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2019-09-06 18:06:08 +0200 |
commit | e0f3e8432af6a64d01be089a2247565e1f754b3a (patch) | |
tree | 698b78046a5b513a824ffb8a442d76b05be2e94a /lib/system/mmdisp.nim | |
parent | 0e01a5f76ccae973666a23ccab77dfcb8745b2d2 (diff) | |
download | Nim-e0f3e8432af6a64d01be089a2247565e1f754b3a.tar.gz |
fixes a critical --gc:boehm regression
Diffstat (limited to 'lib/system/mmdisp.nim')
-rw-r--r-- | lib/system/mmdisp.nim | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/system/mmdisp.nim b/lib/system/mmdisp.nim index 47bb400a7..0d1bb1767 100644 --- a/lib/system/mmdisp.nim +++ b/lib/system/mmdisp.nim @@ -112,8 +112,8 @@ when defined(boehmgc): if result == nil: raiseOutOfMem() proc alloc0(size: Natural): pointer = result = alloc(size) - proc realloc(p: pointer, newsize: Natural): pointer = - result = boehmRealloc(p, newsize) + proc realloc(p: pointer, newSize: Natural): pointer = + result = boehmRealloc(p, newSize) if result == nil: raiseOutOfMem() proc dealloc(p: pointer) = boehmDealloc(p) @@ -122,8 +122,8 @@ when defined(boehmgc): if result == nil: raiseOutOfMem() proc allocShared0(size: Natural): pointer = result = allocShared(size) - proc reallocShared(p: pointer, newsize: Natural): pointer = - result = boehmRealloc(p, newsize) + proc reallocShared(p: pointer, newSize: Natural): pointer = + result = boehmRealloc(p, newSize) if result == nil: raiseOutOfMem() proc deallocShared(p: pointer) = boehmDealloc(p) |