projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c93cffb
)
tblgen: Remove pointless method call.
author
Sean Silva
<silvas@purdue.edu>
Tue, 9 Oct 2012 17:03:11 +0000
(17:03 +0000)
committer
Sean Silva
<silvas@purdue.edu>
Tue, 9 Oct 2012 17:03:11 +0000
(17:03 +0000)
llvm-svn: 165511
llvm/lib/TableGen/TGParser.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/TableGen/TGParser.cpp
b/llvm/lib/TableGen/TGParser.cpp
index
82d1957
..
0ed75f0
100644
(file)
--- a/
llvm/lib/TableGen/TGParser.cpp
+++ b/
llvm/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");
}