From: Dan Gohman Date: Wed, 28 Jul 2010 00:21:18 +0000 (+0000) Subject: Add a comment. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=f374ba2bcd3a3b993d6b3fcd9f70a29973f93175;p=oota-llvm.git Add a comment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109565 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Analysis/ScalarEvolutionExpressions.h b/include/llvm/Analysis/ScalarEvolutionExpressions.h index 74242031edd..dd311c5508c 100644 --- a/include/llvm/Analysis/ScalarEvolutionExpressions.h +++ b/include/llvm/Analysis/ScalarEvolutionExpressions.h @@ -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) {}