Add a comment.
authorDan Gohman <gohman@apple.com>
Wed, 28 Jul 2010 00:21:18 +0000 (00:21 +0000)
committerDan Gohman <gohman@apple.com>
Wed, 28 Jul 2010 00:21:18 +0000 (00:21 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109565 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Analysis/ScalarEvolutionExpressions.h

index 74242031eddd84cbf3a60bb96052fb8924cc66e8..dd311c5508cce33fd4c23c3d07be29edb7290074 100644 (file)
@@ -523,6 +523,8 @@ namespace llvm {
   class SCEVUnknown : public SCEV {
     friend class ScalarEvolution;
 
+    // This should be an AssertingVH, however SCEVUnknowns are allocated in a
+    // BumpPtrAllocator so their destructors are never called.
     Value *V;
     SCEVUnknown(const FoldingSetNodeIDRef ID, Value *v) :
       SCEV(ID, scUnknown), V(v) {}