aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/AsmPrinter.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-12-30 20:50:28 +0000
committerChris Lattner <sabre@nondot.org>2007-12-30 20:50:28 +0000
commit9e3304900ff69c4920fea7369c9c36916c4a6a6a (patch)
tree49fbac9632e44c85f429c7cb7bccafdb61d8e26b /lib/CodeGen/AsmPrinter.cpp
parent9a1ceaedc282f0cae31f2723f4d6c00c7b88fe90 (diff)
MachineOperand::getImmedValue -> MachineOperand::getImm
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45454 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter.cpp')
-rw-r--r--lib/CodeGen/AsmPrinter.cpp11
1 files changed, 4 insertions, 7 deletions
diff --git a/lib/CodeGen/AsmPrinter.cpp b/lib/CodeGen/AsmPrinter.cpp
index 65892c10a5..0f7f6f1dc9 100644
--- a/lib/CodeGen/AsmPrinter.cpp
+++ b/lib/CodeGen/AsmPrinter.cpp
@@ -1215,14 +1215,14 @@ void AsmPrinter::printInlineAsm(const MachineInstr *MI) const {
// Scan to find the machine operand number for the operand.
for (; Val; --Val) {
if (OpNo >= MI->getNumOperands()) break;
- unsigned OpFlags = MI->getOperand(OpNo).getImmedValue();
+ unsigned OpFlags = MI->getOperand(OpNo).getImm();
OpNo += (OpFlags >> 3) + 1;
}
if (OpNo >= MI->getNumOperands()) {
Error = true;
} else {
- unsigned OpFlags = MI->getOperand(OpNo).getImmedValue();
+ unsigned OpFlags = MI->getOperand(OpNo).getImm();
++OpNo; // Skip over the ID number.
if (Modifier[0]=='l') // labels are target independent
@@ -1256,11 +1256,8 @@ void AsmPrinter::printInlineAsm(const MachineInstr *MI) const {
/// printLabel - This method prints a local label used by debug and
/// exception handling tables.
void AsmPrinter::printLabel(const MachineInstr *MI) const {
- O << "\n"
- << TAI->getPrivateGlobalPrefix()
- << "label"
- << MI->getOperand(0).getImmedValue()
- << ":\n";
+ O << "\n" << TAI->getPrivateGlobalPrefix()
+ << "label" << MI->getOperand(0).getImm() << ":\n";
}
/// PrintAsmOperand - Print the specified operand of MI, an INLINEASM