From 287987ca1358470b3c723f2b2892c0693700e5be Mon Sep 17 00:00:00 2001 From: Philip Reames Date: Fri, 16 Jan 2015 23:21:07 +0000 Subject: [PATCH] Update a comment Be a bit more explicit about the fact that addrspace(1) is not reserved. llvm-svn: 226344 --- llvm/lib/CodeGen/StatepointExampleGC.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/llvm/lib/CodeGen/StatepointExampleGC.cpp b/llvm/lib/CodeGen/StatepointExampleGC.cpp index ed6d0e9..67f40c8 100644 --- a/llvm/lib/CodeGen/StatepointExampleGC.cpp +++ b/llvm/lib/CodeGen/StatepointExampleGC.cpp @@ -39,7 +39,9 @@ public: PointerType *PT = cast(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()); } }; -- 2.7.4