diff options
| author | Dan Gohman <gohman@apple.com> | 2007-09-14 20:33:02 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2007-09-14 20:33:02 +0000 |
| commit | 9da02f5ee2a5599de6ac3021c30a1840626c4faa (patch) | |
| tree | f39ebfda1e85d6ccbc14e7ff5e7ecee1e439b333 /llvm/lib/CodeGen/AsmPrinter.cpp | |
| parent | a7b26e6bb32ed75cd2b2227d2c304a04bc3ab076 (diff) | |
| download | bcm5719-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.cpp | 2 |
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?"); |

