[llvm-commits] [llvm] r165511 - /llvm/trunk/lib/TableGen/TGParser.cpp

Sean Silva silvas at purdue.edu
Tue Oct 9 10:03:11 PDT 2012


Author: silvas
Date: Tue Oct  9 12:03:11 2012
New Revision: 165511

URL: http://llvm.org/viewvc/llvm-project?rev=165511&view=rev
Log:
tblgen: Remove pointless method call.

Modified:
    llvm/trunk/lib/TableGen/TGParser.cpp

Modified: llvm/trunk/lib/TableGen/TGParser.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/TableGen/TGParser.cpp?rev=165511&r1=165510&r2=165511&view=diff
==============================================================================
--- llvm/trunk/lib/TableGen/TGParser.cpp (original)
+++ llvm/trunk/lib/TableGen/TGParser.cpp Tue Oct  9 12:03:11 2012
@@ -110,7 +110,6 @@
     // 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");
     }
 





More information about the llvm-commits mailing list