[TableGen] Use 'size_t' instead of 'unsigned' to better match the argument types of addAsmOperand. NFC

llvm-svn: 247527
This commit is contained in:
Craig Topper 2015-09-13 18:01:09 +00:00
parent f8f86ab176
commit e461214fe1
1 changed files with 2 additions and 2 deletions

View File

@ -847,9 +847,9 @@ void MatchableInfo::addAsmOperand(size_t Start, size_t End) {
/// tokenizeAsmString - Tokenize a simplified assembly string.
void MatchableInfo::tokenizeAsmString(const AsmMatcherInfo &Info) {
StringRef String = AsmString;
unsigned Prev = 0;
size_t Prev = 0;
bool InTok = true;
for (unsigned i = 0, e = String.size(); i != e; ++i) {
for (size_t i = 0, e = String.size(); i != e; ++i) {
switch (String[i]) {
case '[':
case ']':