diff options
author | Jim Grosbach <grosbach@apple.com> | 2010-11-30 23:29:24 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2010-11-30 23:29:24 +0000 |
commit | d309b413a5a246e006a63f61aa9052effd8b4c7e (patch) | |
tree | e3bcced091cda4f5e5a1e99aef0c36b8d4b01d33 /lib/Target/ARM/ARMMCInstLower.cpp | |
parent | a42cf73c779fe4210cedce0a7a0b2ada2085b55b (diff) | |
download | llvm-d309b413a5a246e006a63f61aa9052effd8b4c7e.tar.gz llvm-d309b413a5a246e006a63f61aa9052effd8b4c7e.tar.bz2 llvm-d309b413a5a246e006a63f61aa9052effd8b4c7e.tar.xz |
Trailing whitespace.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120497 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMMCInstLower.cpp')
-rw-r--r-- | lib/Target/ARM/ARMMCInstLower.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Target/ARM/ARMMCInstLower.cpp b/lib/Target/ARM/ARMMCInstLower.cpp index 9ba169821b..5a8fc5cdc0 100644 --- a/lib/Target/ARM/ARMMCInstLower.cpp +++ b/lib/Target/ARM/ARMMCInstLower.cpp @@ -41,13 +41,13 @@ static MCOperand GetSymbolRef(const MachineOperand &MO, const MCSymbol *Symbol, Expr = MCSymbolRefExpr::Create(Symbol, MCSymbolRefExpr::VK_ARM_PLT, Ctx); break; } - + if (!MO.isJTI() && MO.getOffset()) Expr = MCBinaryExpr::CreateAdd(Expr, MCConstantExpr::Create(MO.getOffset(), Ctx), Ctx); return MCOperand::CreateExpr(Expr); - + } 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); break; case MachineOperand::MO_ExternalSymbol: - MCOp = GetSymbolRef(MO, + MCOp = GetSymbolRef(MO, AP.GetExternalSymbolSymbol(MO.getSymbolName()), AP); break; case MachineOperand::MO_JumpTableIndex: |