[llvm-commits] [llvm] r109565 - /llvm/trunk/include/llvm/Analysis/ScalarEvolutionExpressions.h
Dan Gohman
gohman at apple.com
Tue Jul 27 17:21:18 PDT 2010
Author: djg
Date: Tue Jul 27 19:21:18 2010
New Revision: 109565
URL: http://llvm.org/viewvc/llvm-project?rev=109565&view=rev
Log:
Add a comment.
Modified:
llvm/trunk/include/llvm/Analysis/ScalarEvolutionExpressions.h
Modified: llvm/trunk/include/llvm/Analysis/ScalarEvolutionExpressions.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Analysis/ScalarEvolutionExpressions.h?rev=109565&r1=109564&r2=109565&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Analysis/ScalarEvolutionExpressions.h (original)
+++ llvm/trunk/include/llvm/Analysis/ScalarEvolutionExpressions.h Tue Jul 27 19:21:18 2010
@@ -523,6 +523,8 @@
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) {}
More information about the llvm-commits
mailing list