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:
acc9280
)
Fix a rather serious bug in previous checkin
author
Chris Lattner
<sabre@nondot.org>
Sun, 18 Jul 2004 06:56:58 +0000
(06:56 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Sun, 18 Jul 2004 06:56:58 +0000
(06:56 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14957
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/IPO/Inliner.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/IPO/Inliner.cpp
b/lib/Transforms/IPO/Inliner.cpp
index ed5efe22acc794c37224b72d86dd7a6369f3a7a4..bad8295adacd35cd2f38eeddaf0b758c84a19bea 100644
(file)
--- a/
lib/Transforms/IPO/Inliner.cpp
+++ b/
lib/Transforms/IPO/Inliner.cpp
@@
-175,7
+175,6
@@
bool Inliner::doFinalization(CallGraph &CG) {
if (F && F->hasOneUse())
if (Function *GV = dyn_cast<Function>(F->use_back()))
if (GV->removeDeadConstantUsers()) {
- delete GV;
if (F->hasInternalLinkage()) {
// There *MAY* be an edge from the external call node to this
// function. If so, remove it.