diff options
author | Dan Gohman <gohman@apple.com> | 2010-07-28 00:21:18 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-07-28 00:21:18 +0000 |
commit | f374ba2bcd3a3b993d6b3fcd9f70a29973f93175 (patch) | |
tree | e632552802aa800547ef87f028ea20542bf3e062 | |
parent | 9a65dc996801d73c2a460a41cdb46bff6f8303a1 (diff) | |
download | external_llvm-f374ba2bcd3a3b993d6b3fcd9f70a29973f93175.zip external_llvm-f374ba2bcd3a3b993d6b3fcd9f70a29973f93175.tar.gz external_llvm-f374ba2bcd3a3b993d6b3fcd9f70a29973f93175.tar.bz2 |
Add a comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109565 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/Analysis/ScalarEvolutionExpressions.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm/Analysis/ScalarEvolutionExpressions.h b/include/llvm/Analysis/ScalarEvolutionExpressions.h index 7424203..dd311c5 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) {} |