Update a comment

Be a bit more explicit about the fact that addrspace(1) is not reserved.

llvm-svn: 226344
This commit is contained in:
Philip Reames 2015-01-16 23:21:07 +00:00
parent 8bfb5544cf
commit 287987ca13
1 changed files with 3 additions and 1 deletions

View File

@ -39,7 +39,9 @@ public:
PointerType *PT = cast<PointerType>(V->getType());
// 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
// 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());
}
};