projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
440ae68
)
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)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165511
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/TableGen/TGParser.cpp
patch
|
blob
|
history
diff --git
a/lib/TableGen/TGParser.cpp
b/lib/TableGen/TGParser.cpp
index 82d195721489b8d1aa95ae3e5eafadaee3063096..0ed75f014eed602af94b4edf6cd87029a8cd36f8 100644
(file)
--- 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");
}