mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-10 02:36:06 +00:00
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
This commit is contained in:
parent
af4b735219
commit
6bd266e567
@ -216,8 +216,8 @@ bool ARMAsmParser::ParseRegister(ARMOperand &Op) {
|
||||
// Try to parse a register list. The first token must be a '{' when called
|
||||
// for now.
|
||||
bool ARMAsmParser::ParseRegisterList(ARMOperand &Op) {
|
||||
const AsmToken &LCurlyTok = getLexer().getTok();
|
||||
assert(LCurlyTok.is(AsmToken::LCurly) && "Token is not an Left Curly Brace");
|
||||
assert(getLexer().getTok().is(AsmToken::LCurly) &&
|
||||
"Token is not an Left Curly Brace");
|
||||
getLexer().Lex(); // Eat left curly brace token.
|
||||
|
||||
const AsmToken &RegTok = getLexer().getTok();
|
||||
@ -264,8 +264,8 @@ bool ARMAsmParser::ParseRegisterList(ARMOperand &Op) {
|
||||
// TODO Only preindexing and postindexing addressing are started, unindexed
|
||||
// with option, etc are still to do.
|
||||
bool ARMAsmParser::ParseMemory(ARMOperand &Op) {
|
||||
const AsmToken &LBracTok = getLexer().getTok();
|
||||
assert(LBracTok.is(AsmToken::LBrac) && "Token is not an Left Bracket");
|
||||
assert(getLexer().getTok().is(AsmToken::LBrac) &&
|
||||
"Token is not an Left Bracket");
|
||||
getLexer().Lex(); // Eat left bracket token.
|
||||
|
||||
const AsmToken &BaseRegTok = getLexer().getTok();
|
||||
|
Loading…
x
Reference in New Issue
Block a user