diff options
author | Chris Lattner <sabre@nondot.org> | 2006-11-13 01:10:12 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-11-13 01:10:12 +0000 |
commit | c2e6801cc7c85deaaa6bc02186e2efa1bba065fe (patch) | |
tree | b64dadde33f2268359d0a164446a59d9182d8e29 /lib/Analysis/BasicAliasAnalysis.cpp | |
parent | bf63734a1b938999a68f41569376e8654fdbc252 (diff) |
remove redundant code
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31697 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/BasicAliasAnalysis.cpp')
-rw-r--r-- | lib/Analysis/BasicAliasAnalysis.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/Analysis/BasicAliasAnalysis.cpp b/lib/Analysis/BasicAliasAnalysis.cpp index 0e7c244c02..ec1a72b951 100644 --- a/lib/Analysis/BasicAliasAnalysis.cpp +++ b/lib/Analysis/BasicAliasAnalysis.cpp @@ -152,8 +152,6 @@ static const Value *getUnderlyingObject(const Value *V) { if (CE->getOpcode() == Instruction::Cast || CE->getOpcode() == Instruction::GetElementPtr) return getUnderlyingObject(CE->getOperand(0)); - } else if (const GlobalValue *GV = dyn_cast<GlobalValue>(V)) { - return GV; } return 0; } |