diff options
author | Jim Grosbach <grosbach@apple.com> | 2015-05-30 01:25:56 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2015-05-30 01:25:56 +0000 |
commit | 13760bd152b6c28ffa38ab1c74e6a6a2e52a3a30 (patch) | |
tree | 652ccefd1b921feaaa3ba6762baddab51d96db4d /llvm/lib/Target/XCore/XCoreMCInstLower.cpp | |
parent | 14e686774d8807265d921ff0c2d1e8ac8e1ab072 (diff) | |
download | bcm5719-llvm-13760bd152b6c28ffa38ab1c74e6a6a2e52a3a30.tar.gz bcm5719-llvm-13760bd152b6c28ffa38ab1c74e6a6a2e52a3a30.zip |
MC: Clean up MCExpr naming. NFC.
llvm-svn: 238634
Diffstat (limited to 'llvm/lib/Target/XCore/XCoreMCInstLower.cpp')
-rw-r--r-- | llvm/lib/Target/XCore/XCoreMCInstLower.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Target/XCore/XCoreMCInstLower.cpp b/llvm/lib/Target/XCore/XCoreMCInstLower.cpp index cffba5fee03..03c5fa2e9c4 100644 --- a/llvm/lib/Target/XCore/XCoreMCInstLower.cpp +++ b/llvm/lib/Target/XCore/XCoreMCInstLower.cpp @@ -65,7 +65,7 @@ MCOperand XCoreMCInstLower::LowerSymbolOperand(const MachineOperand &MO, llvm_unreachable("<unknown operand type>"); } - const MCSymbolRefExpr *MCSym = MCSymbolRefExpr::Create(Symbol, Kind, *Ctx); + const MCSymbolRefExpr *MCSym = MCSymbolRefExpr::create(Symbol, Kind, *Ctx); if (!Offset) return MCOperand::createExpr(MCSym); @@ -73,8 +73,8 @@ MCOperand XCoreMCInstLower::LowerSymbolOperand(const MachineOperand &MO, // Assume offset is never negative. assert(Offset > 0); - const MCConstantExpr *OffsetExpr = MCConstantExpr::Create(Offset, *Ctx); - const MCBinaryExpr *Add = MCBinaryExpr::CreateAdd(MCSym, OffsetExpr, *Ctx); + const MCConstantExpr *OffsetExpr = MCConstantExpr::create(Offset, *Ctx); + const MCBinaryExpr *Add = MCBinaryExpr::createAdd(MCSym, OffsetExpr, *Ctx); return MCOperand::createExpr(Add); } |