diff options
author | Andrey Sobolev <andrey.sobolev@xored.com> | 2015-09-14 11:51:21 +0600 |
---|---|---|
committer | Andrey Sobolev <andrey.sobolev@xored.com> | 2015-09-14 11:51:21 +0600 |
commit | 3be1267cbd1fc0090ba84d5872b105237fb2bb34 (patch) | |
tree | f97db568298120e83ff9c6e5d46195ff7e823b07 /lib | |
parent | 2f6dc8c47f836b66c1a28fd0b90a9e591b6c9be5 (diff) | |
download | Nim-3be1267cbd1fc0090ba84d5872b105237fb2bb34.tar.gz |
Change TAddress to ByteAddress
Diffstat (limited to 'lib')
-rw-r--r-- | lib/system/gc_common.nim | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/system/gc_common.nim b/lib/system/gc_common.nim index fcf3e62e2..47e8b4b1f 100644 --- a/lib/system/gc_common.nim +++ b/lib/system/gc_common.nim @@ -164,9 +164,9 @@ elif stackIncreases: proc isOnStack(p: pointer): bool = var stackTop {.volatile.}: pointer stackTop = addr(stackTop) - var a = cast[TAddress](gch.stackBottom) - var b = cast[TAddress](stackTop) - var x = cast[TAddress](p) + var a = cast[ByteAddress](gch.stackBottom) + var b = cast[ByteAddress](stackTop) + var x = cast[ByteAddress](p) result = a <=% x and x <=% b var |