mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-02 17:09:05 +00:00
Trailing whitespace.
llvm-svn: 120497
This commit is contained in:
parent
a10e76dd58
commit
ce4e8350aa
@ -41,13 +41,13 @@ static MCOperand GetSymbolRef(const MachineOperand &MO, const MCSymbol *Symbol,
|
|||||||
Expr = MCSymbolRefExpr::Create(Symbol, MCSymbolRefExpr::VK_ARM_PLT, Ctx);
|
Expr = MCSymbolRefExpr::Create(Symbol, MCSymbolRefExpr::VK_ARM_PLT, Ctx);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!MO.isJTI() && MO.getOffset())
|
if (!MO.isJTI() && MO.getOffset())
|
||||||
Expr = MCBinaryExpr::CreateAdd(Expr,
|
Expr = MCBinaryExpr::CreateAdd(Expr,
|
||||||
MCConstantExpr::Create(MO.getOffset(), Ctx),
|
MCConstantExpr::Create(MO.getOffset(), Ctx),
|
||||||
Ctx);
|
Ctx);
|
||||||
return MCOperand::CreateExpr(Expr);
|
return MCOperand::CreateExpr(Expr);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void llvm::LowerARMMachineInstrToMCInst(const MachineInstr *MI, MCInst &OutMI,
|
void llvm::LowerARMMachineInstrToMCInst(const MachineInstr *MI, MCInst &OutMI,
|
||||||
@ -79,7 +79,7 @@ void llvm::LowerARMMachineInstrToMCInst(const MachineInstr *MI, MCInst &OutMI,
|
|||||||
MCOp = GetSymbolRef(MO, AP.Mang->getSymbol(MO.getGlobal()), AP);
|
MCOp = GetSymbolRef(MO, AP.Mang->getSymbol(MO.getGlobal()), AP);
|
||||||
break;
|
break;
|
||||||
case MachineOperand::MO_ExternalSymbol:
|
case MachineOperand::MO_ExternalSymbol:
|
||||||
MCOp = GetSymbolRef(MO,
|
MCOp = GetSymbolRef(MO,
|
||||||
AP.GetExternalSymbolSymbol(MO.getSymbolName()), AP);
|
AP.GetExternalSymbolSymbol(MO.getSymbolName()), AP);
|
||||||
break;
|
break;
|
||||||
case MachineOperand::MO_JumpTableIndex:
|
case MachineOperand::MO_JumpTableIndex:
|
||||||
|
Loading…
Reference in New Issue
Block a user