summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineBasicBlock.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-10-03 15:45:36 +0000
committerDan Gohman <gohman@apple.com>2008-10-03 15:45:36 +0000
commit0d1e9a8e0401048b5619dd46afb744af7b028aff (patch)
tree0b150971be1244ee265f214d4bcad572ace4128f /llvm/lib/CodeGen/MachineBasicBlock.cpp
parent6d8e67f512cabbd7745d4dd71b710806a8abc166 (diff)
downloadbcm5719-llvm-0d1e9a8e0401048b5619dd46afb744af7b028aff.tar.gz
bcm5719-llvm-0d1e9a8e0401048b5619dd46afb744af7b028aff.zip
Switch the MachineOperand accessors back to the short names like
isReg, etc., from isRegister, etc. llvm-svn: 57006
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
-rw-r--r--llvm/lib/CodeGen/MachineBasicBlock.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/MachineBasicBlock.cpp b/llvm/lib/CodeGen/MachineBasicBlock.cpp
index bac0a6cc719..db55a88eddc 100644
--- a/llvm/lib/CodeGen/MachineBasicBlock.cpp
+++ b/llvm/lib/CodeGen/MachineBasicBlock.cpp
@@ -290,7 +290,7 @@ void MachineBasicBlock::ReplaceUsesOfBlockWith(MachineBasicBlock *Old,
// Scan the operands of this machine instruction, replacing any uses of Old
// with New.
for (unsigned i = 0, e = I->getNumOperands(); i != e; ++i)
- if (I->getOperand(i).isMachineBasicBlock() &&
+ if (I->getOperand(i).isMBB() &&
I->getOperand(i).getMBB() == Old)
I->getOperand(i).setMBB(New);
}
OpenPOWER on IntegriCloud