mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-08 21:32:39 +00:00
Update a comment
Be a bit more explicit about the fact that addrspace(1) is not reserved. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@226344 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
999412767a
commit
70e90cefd5
@ -39,7 +39,9 @@ public:
|
|||||||
PointerType *PT = cast<PointerType>(V->getType());
|
PointerType *PT = cast<PointerType>(V->getType());
|
||||||
// For the sake of this example GC, we arbitrarily pick addrspace(1) as our
|
// For the sake of this example GC, we arbitrarily pick addrspace(1) as our
|
||||||
// GC managed heap. We know that a pointer into this heap needs to be
|
// GC managed heap. We know that a pointer into this heap needs to be
|
||||||
// updated and that no other pointer does.
|
// updated and that no other pointer does. Note that addrspace(1) is used
|
||||||
|
// only as an example, it has no special meaning, and is not reserved for
|
||||||
|
// GC usage.
|
||||||
return (1 == PT->getAddressSpace());
|
return (1 == PT->getAddressSpace());
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user