aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/IPO/Inliner.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-05-12 23:35:26 +0000
committerChris Lattner <sabre@nondot.org>2006-05-12 23:35:26 +0000
commit2144c2536428f3e4eff4ec8323f00b3b47a80a2e (patch)
tree5fba26db76daf273a5a4120fd4e6be5ebe692ce1 /lib/Transforms/IPO/Inliner.cpp
parenta87e9cd0699822498a9cf0bac0a4e164b6968824 (diff)
Remove some dead variables.
Fix a nasty bug in the memcmp optimizer where we used the wrong variable! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28269 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/IPO/Inliner.cpp')
-rw-r--r--lib/Transforms/IPO/Inliner.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/Transforms/IPO/Inliner.cpp b/lib/Transforms/IPO/Inliner.cpp
index 65cc47db40..89999bb442 100644
--- a/lib/Transforms/IPO/Inliner.cpp
+++ b/lib/Transforms/IPO/Inliner.cpp
@@ -41,7 +41,6 @@ Inliner::Inliner() : InlineThreshold(InlineLimit) {}
// do so and update the CallGraph for this operation.
static bool InlineCallIfPossible(CallSite CS, CallGraph &CG,
const std::set<Function*> &SCCFunctions) {
- Function *Caller = CS.getInstruction()->getParent()->getParent();
Function *Callee = CS.getCalledFunction();
if (!InlineFunction(CS, &CG)) return false;