projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
369e4fd
)
[ARM] Follow-up to r337709.
author
Matt Morehouse
<mascasa@google.com>
Mon, 23 Jul 2018 17:22:53 +0000
(17:22 +0000)
committer
Matt Morehouse
<mascasa@google.com>
Mon, 23 Jul 2018 17:22:53 +0000
(17:22 +0000)
Fix double-free.
llvm-svn: 337711
llvm/lib/Target/ARM/ARMCodeGenPrepare.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Target/ARM/ARMCodeGenPrepare.cpp
b/llvm/lib/Target/ARM/ARMCodeGenPrepare.cpp
index
39b9813
..
83ba345
100644
(file)
--- a/
llvm/lib/Target/ARM/ARMCodeGenPrepare.cpp
+++ b/
llvm/lib/Target/ARM/ARMCodeGenPrepare.cpp
@@
-98,8
+98,6
@@
public:
ARMCodeGenPrepare() : FunctionPass(ID) {}
- ~ARMCodeGenPrepare() { delete Promoter; }
-
void getAnalysisUsage(AnalysisUsage &AU) const override {
AU.addRequired<TargetPassConfig>();
}