summaryrefslogtreecommitdiff
path: root/lib/Bitcode
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2012-05-28 18:23:36 +0000
committerDavid Blaikie <dblaikie@gmail.com>2012-05-28 18:23:36 +0000
commit21280e48c07422a43bf8e7d095bdfaf0c7012bd5 (patch)
treeb79486094999f5290e5dc02412b5206b04b5f753 /lib/Bitcode
parente99f8be067b6f2c19058d0f6307e96287a94f55d (diff)
downloadllvm-21280e48c07422a43bf8e7d095bdfaf0c7012bd5.tar.gz
llvm-21280e48c07422a43bf8e7d095bdfaf0c7012bd5.tar.bz2
llvm-21280e48c07422a43bf8e7d095bdfaf0c7012bd5.tar.xz
Remove unused variable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157586 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode')
-rw-r--r--lib/Bitcode/Reader/BitcodeReader.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/Bitcode/Reader/BitcodeReader.cpp b/lib/Bitcode/Reader/BitcodeReader.cpp
index 0e78dce6af..e58af0eae2 100644
--- a/lib/Bitcode/Reader/BitcodeReader.cpp
+++ b/lib/Bitcode/Reader/BitcodeReader.cpp
@@ -2254,8 +2254,6 @@ bool BitcodeReader::ParseFunctionBody(Function *F) {
APInt High =
ReadWideAPInt(makeArrayRef(&Record[CurIdx], ActiveWords),
ValueBitWidth);
- IntItemConstantIntImpl HighImpl =
- cast<ConstantInt>(ConstantInt::get(OpTy, High));
CaseBuilder.add(IntItem::fromType(OpTy, Low),
IntItem::fromType(OpTy, High));