llvm.org GIT mirror llvm / 6bd266e
Fix two warnings about unused variables that are only used in assert() calls. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83917 91177308-0d34-0410-b5e6-96231b3b80d8 Kevin Enderby 11 years ago
1 changed file(s) with 4 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
215215 // Try to parse a register list. The first token must be a '{' when called
216216 // for now.
217217 bool ARMAsmParser::ParseRegisterList(ARMOperand &Op) {
218 const AsmToken &LCurlyTok = getLexer().getTok();
219 assert(LCurlyTok.is(AsmToken::LCurly) && "Token is not an Left Curly Brace");
218 assert(getLexer().getTok().is(AsmToken::LCurly) &&
219 "Token is not an Left Curly Brace");
220220 getLexer().Lex(); // Eat left curly brace token.
221221
222222 const AsmToken &RegTok = getLexer().getTok();
263263 // TODO Only preindexing and postindexing addressing are started, unindexed
264264 // with option, etc are still to do.
265265 bool ARMAsmParser::ParseMemory(ARMOperand &Op) {
266 const AsmToken &LBracTok = getLexer().getTok();
267 assert(LBracTok.is(AsmToken::LBrac) && "Token is not an Left Bracket");
266 assert(getLexer().getTok().is(AsmToken::LBrac) &&
267 "Token is not an Left Bracket");
268268 getLexer().Lex(); // Eat left bracket token.
269269
270270 const AsmToken &BaseRegTok = getLexer().getTok();