projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a65dc9
)
Add a comment.
author
Dan Gohman
<gohman@apple.com>
Wed, 28 Jul 2010 00:21:18 +0000
(
00:21
+0000)
committer
Dan 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
patch
|
blob
|
history
diff --git
a/include/llvm/Analysis/ScalarEvolutionExpressions.h
b/include/llvm/Analysis/ScalarEvolutionExpressions.h
index 74242031eddd84cbf3a60bb96052fb8924cc66e8..dd311c5508cce33fd4c23c3d07be29edb7290074 100644
(file)
--- 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) {}