diff options
author | Chris Lattner <sabre@nondot.org> | 2008-05-08 18:26:56 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-05-08 18:26:56 +0000 |
commit | 76e2e4a2bc78a0ca2617e3b336081e29cb00d749 (patch) | |
tree | 0e3484634c2272c18727e281ee8e0bc02a7e9279 /lib | |
parent | a8a118b68fa3ca1632e7280cd6994aa0f8f1eec1 (diff) | |
download | external_llvm-76e2e4a2bc78a0ca2617e3b336081e29cb00d749.zip external_llvm-76e2e4a2bc78a0ca2617e3b336081e29cb00d749.tar.gz external_llvm-76e2e4a2bc78a0ca2617e3b336081e29cb00d749.tar.bz2 |
Remove dead return. Thanks to Bill for the review!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50863 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Analysis/ConstantFolding.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/Analysis/ConstantFolding.cpp b/lib/Analysis/ConstantFolding.cpp index e9efb29..91c745e 100644 --- a/lib/Analysis/ConstantFolding.cpp +++ b/lib/Analysis/ConstantFolding.cpp @@ -148,8 +148,6 @@ static Constant *SymbolicallyEvaluateGEP(Constant* const* Ops, unsigned NumOps, (Value**)Ops+1, NumOps-1); Constant *C = ConstantInt::get(TD->getIntPtrType(), Offset+BasePtr); return ConstantExpr::getIntToPtr(C, ResultTy); - - return 0; } /// FoldBitCast - Constant fold bitcast, symbolically evaluating it with |