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/SystemZ/SystemZMCInstLower.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/SystemZ/SystemZMCInstLower.cpp')
-rw-r--r-- | llvm/lib/Target/SystemZ/SystemZMCInstLower.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Target/SystemZ/SystemZMCInstLower.cpp b/llvm/lib/Target/SystemZ/SystemZMCInstLower.cpp index a1dcedab54e..2655e4866b2 100644 --- a/llvm/lib/Target/SystemZ/SystemZMCInstLower.cpp +++ b/llvm/lib/Target/SystemZ/SystemZMCInstLower.cpp @@ -68,11 +68,11 @@ SystemZMCInstLower::getExpr(const MachineOperand &MO, default: llvm_unreachable("unknown operand type"); } - const MCExpr *Expr = MCSymbolRefExpr::Create(Symbol, Kind, Ctx); + const MCExpr *Expr = MCSymbolRefExpr::create(Symbol, Kind, Ctx); if (HasOffset) if (int64_t Offset = MO.getOffset()) { - const MCExpr *OffsetExpr = MCConstantExpr::Create(Offset, Ctx); - Expr = MCBinaryExpr::CreateAdd(Expr, OffsetExpr, Ctx); + const MCExpr *OffsetExpr = MCConstantExpr::create(Offset, Ctx); + Expr = MCBinaryExpr::createAdd(Expr, OffsetExpr, Ctx); } return Expr; } |