[llvm] r226344 - Update a comment

Philip Reames listmail at philipreames.com
Fri Jan 16 15:21:07 PST 2015


Author: reames
Date: Fri Jan 16 17:21:07 2015
New Revision: 226344

URL: http://llvm.org/viewvc/llvm-project?rev=226344&view=rev
Log:
Update a comment

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


Modified:
    llvm/trunk/lib/CodeGen/StatepointExampleGC.cpp

Modified: llvm/trunk/lib/CodeGen/StatepointExampleGC.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/StatepointExampleGC.cpp?rev=226344&r1=226343&r2=226344&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/StatepointExampleGC.cpp (original)
+++ llvm/trunk/lib/CodeGen/StatepointExampleGC.cpp Fri Jan 16 17:21:07 2015
@@ -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());
   }
 };





More information about the llvm-commits mailing list