diff options
author | Jim Grosbach <grosbach@apple.com> | 2015-05-13 18:37:00 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2015-05-13 18:37:00 +0000 |
commit | e9119e41efb5230324d7f997af0db94235034ffc (patch) | |
tree | 5ea30b77ddae810121d9784168d750371b788ce4 /llvm/lib/Target/SystemZ/SystemZMCInstLower.cpp | |
parent | 4c2814e5d6030a65a3d88fcce8bdf237c9593d72 (diff) | |
download | bcm5719-llvm-e9119e41efb5230324d7f997af0db94235034ffc.tar.gz bcm5719-llvm-e9119e41efb5230324d7f997af0db94235034ffc.zip |
MC: Modernize MCOperand API naming. NFC.
MCOperand::Create*() methods renamed to MCOperand::create*().
llvm-svn: 237275
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 6bb96f1b40f..2dd5fb5b215 100644 --- a/llvm/lib/Target/SystemZ/SystemZMCInstLower.cpp +++ b/llvm/lib/Target/SystemZ/SystemZMCInstLower.cpp @@ -79,14 +79,14 @@ SystemZMCInstLower::getExpr(const MachineOperand &MO, MCOperand SystemZMCInstLower::lowerOperand(const MachineOperand &MO) const { switch (MO.getType()) { case MachineOperand::MO_Register: - return MCOperand::CreateReg(MO.getReg()); + return MCOperand::createReg(MO.getReg()); case MachineOperand::MO_Immediate: - return MCOperand::CreateImm(MO.getImm()); + return MCOperand::createImm(MO.getImm()); default: { MCSymbolRefExpr::VariantKind Kind = getVariantKind(MO.getTargetFlags()); - return MCOperand::CreateExpr(getExpr(MO, Kind)); + return MCOperand::createExpr(getExpr(MO, Kind)); } } } |