summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2007-09-14 20:33:02 +0000
committerDan Gohman <gohman@apple.com>2007-09-14 20:33:02 +0000
commit9da02f5ee2a5599de6ac3021c30a1840626c4faa (patch)
treef39ebfda1e85d6ccbc14e7ff5e7ecee1e439b333 /llvm/lib/CodeGen/AsmPrinter.cpp
parenta7b26e6bb32ed75cd2b2227d2c304a04bc3ab076 (diff)
downloadbcm5719-llvm-9da02f5ee2a5599de6ac3021c30a1840626c4faa.tar.gz
bcm5719-llvm-9da02f5ee2a5599de6ac3021c30a1840626c4faa.zip
Remove isReg, isImm, and isMBB, and change all their users to use
isRegister, isImmediate, and isMachineBasicBlock, which are equivalent, and more popular. llvm-svn: 41958
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter.cpp')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter.cpp b/llvm/lib/CodeGen/AsmPrinter.cpp
index b55310661e6..3d8dd75a161 100644
--- a/llvm/lib/CodeGen/AsmPrinter.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter.cpp
@@ -982,7 +982,7 @@ void AsmPrinter::printInlineAsm(const MachineInstr *MI) const {
// Count the number of register definitions.
unsigned NumDefs = 0;
- for (; MI->getOperand(NumDefs).isReg() && MI->getOperand(NumDefs).isDef();
+ for (; MI->getOperand(NumDefs).isRegister() && MI->getOperand(NumDefs).isDef();
++NumDefs)
assert(NumDefs != NumOperands-1 && "No asm string?");
OpenPOWER on IntegriCloud