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:
3132520
)
Nonvirtual dtor that was accessible enough to be bad.
author
Andrew Trick
<atrick@apple.com>
Fri, 22 Oct 2010 23:33:19 +0000
(23:33 +0000)
committer
Andrew Trick
<atrick@apple.com>
Fri, 22 Oct 2010 23:33:19 +0000
(23:33 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117180
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/RegAllocBase.h
patch
|
blob
|
history
diff --git
a/lib/CodeGen/RegAllocBase.h
b/lib/CodeGen/RegAllocBase.h
index a972fbf11082647039827eed650e5b31d918a7c4..d54363536f0860c6186bfff2d21700245e2e0e25 100644
(file)
--- a/
lib/CodeGen/RegAllocBase.h
+++ b/
lib/CodeGen/RegAllocBase.h
@@
-87,6
+87,8
@@
protected:
RegAllocBase(): tri_(0), vrm_(0), lis_(0) {}
+ virtual ~RegAllocBase() {}
+
// A RegAlloc pass should call this before allocatePhysRegs.
void init(const TargetRegisterInfo &tri, VirtRegMap &vrm, LiveIntervals &lis);