mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-19 06:31:18 +00:00
ARMAsmParser: whitespace
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201989 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ec1c80576d
commit
b4702e215e
@ -321,7 +321,7 @@ class ARMAsmParser : public MCTargetAsmParser {
|
|||||||
const SmallVectorImpl<MCParsedAsmOperand*> &);
|
const SmallVectorImpl<MCParsedAsmOperand*> &);
|
||||||
void cvtThumbBranches(MCInst &Inst,
|
void cvtThumbBranches(MCInst &Inst,
|
||||||
const SmallVectorImpl<MCParsedAsmOperand*> &);
|
const SmallVectorImpl<MCParsedAsmOperand*> &);
|
||||||
|
|
||||||
bool validateInstruction(MCInst &Inst,
|
bool validateInstruction(MCInst &Inst,
|
||||||
const SmallVectorImpl<MCParsedAsmOperand*> &Ops);
|
const SmallVectorImpl<MCParsedAsmOperand*> &Ops);
|
||||||
bool processInstruction(MCInst &Inst,
|
bool processInstruction(MCInst &Inst,
|
||||||
@ -3598,7 +3598,7 @@ parseMemBarrierOptOperand(SmallVectorImpl<MCParsedAsmOperand*> &Operands) {
|
|||||||
Error(Loc, "illegal expression");
|
Error(Loc, "illegal expression");
|
||||||
return MatchOperand_ParseFail;
|
return MatchOperand_ParseFail;
|
||||||
}
|
}
|
||||||
|
|
||||||
const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(MemBarrierID);
|
const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(MemBarrierID);
|
||||||
if (!CE) {
|
if (!CE) {
|
||||||
Error(Loc, "constant expression expected");
|
Error(Loc, "constant expression expected");
|
||||||
@ -4197,7 +4197,7 @@ parseAM3Offset(SmallVectorImpl<MCParsedAsmOperand*> &Operands) {
|
|||||||
isAdd = false;
|
isAdd = false;
|
||||||
haveEaten = true;
|
haveEaten = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
Tok = Parser.getTok();
|
Tok = Parser.getTok();
|
||||||
int Reg = tryParseRegister();
|
int Reg = tryParseRegister();
|
||||||
if (Reg == -1) {
|
if (Reg == -1) {
|
||||||
@ -4270,7 +4270,7 @@ cvtThumbBranches(MCInst &Inst,
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// now decide on encoding size based on branch target range
|
// now decide on encoding size based on branch target range
|
||||||
switch(Inst.getOpcode()) {
|
switch(Inst.getOpcode()) {
|
||||||
// classify tB as either t2B or t1B based on range of immediate operand
|
// classify tB as either t2B or t1B based on range of immediate operand
|
||||||
|
Loading…
x
Reference in New Issue
Block a user