From: Sean Silva Date: Tue, 9 Oct 2012 17:03:11 +0000 (+0000) Subject: tblgen: Remove pointless method call. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=80d94e053a384f83075b55c3f62ccc91caf93d18;p=oota-llvm.git tblgen: Remove pointless method call. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165511 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/TableGen/TGParser.cpp b/lib/TableGen/TGParser.cpp index 82d19572148..0ed75f014ee 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"); }