aboutsummaryrefslogtreecommitdiffstats
path: root/lib/TableGen
diff options
context:
space:
mode:
authorSean Silva <silvas@purdue.edu>2012-10-09 17:03:11 +0000
committerSean Silva <silvas@purdue.edu>2012-10-09 17:03:11 +0000
commit80d94e053a384f83075b55c3f62ccc91caf93d18 (patch)
tree34b851ee725f2c17a0f530fac7bd28bbfe75bdc7 /lib/TableGen
parent440ae6800ec15c8623eb938554d9481f92a02658 (diff)
downloadexternal_llvm-80d94e053a384f83075b55c3f62ccc91caf93d18.zip
external_llvm-80d94e053a384f83075b55c3f62ccc91caf93d18.tar.gz
external_llvm-80d94e053a384f83075b55c3f62ccc91caf93d18.tar.bz2
tblgen: Remove pointless method call.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165511 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/TableGen')
-rw-r--r--lib/TableGen/TGParser.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/TableGen/TGParser.cpp b/lib/TableGen/TGParser.cpp
index 82d1957..0ed75f0 100644
--- a/lib/TableGen/TGParser.cpp
+++ b/lib/TableGen/TGParser.cpp
@@ -110,7 +110,6 @@ bool TGParser::SetValue(Record *CurRec, SMLoc Loc, Init *ValName,
// Convert the incoming value to a bits type of the appropriate size...
Init *BI = V->convertInitializerTo(BitsRecTy::get(BitList.size()));
if (BI == 0) {
- V->convertInitializerTo(BitsRecTy::get(BitList.size()));
return Error(Loc, "Initializer is not compatible with bit range");
}