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 | 92dfe2001e96f6e2b6d327e8816f38033f88b295 (patch) | |
tree | 14670779a18a50be87d7bbd426a595a04ca6ed77 /lib/Target/PowerPC/PPCBranchSelector.cpp | |
parent | 693f541526cdd5f084adc5b8a5a5b290401a0b8e (diff) |
Remove isReg, isImm, and isMBB, and change all their users to use
isRegister, isImmediate, and isMachineBasicBlock, which are equivalent,
and more popular.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41958 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCBranchSelector.cpp')
-rw-r--r-- | lib/Target/PowerPC/PPCBranchSelector.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/PowerPC/PPCBranchSelector.cpp b/lib/Target/PowerPC/PPCBranchSelector.cpp index 4286f01b30..5220c642cb 100644 --- a/lib/Target/PowerPC/PPCBranchSelector.cpp +++ b/lib/Target/PowerPC/PPCBranchSelector.cpp @@ -129,7 +129,7 @@ bool PPCBSel::runOnMachineFunction(MachineFunction &Fn) { unsigned MBBStartOffset = 0; for (MachineBasicBlock::iterator I = MBB.begin(), E = MBB.end(); I != E; ++I) { - if (I->getOpcode() != PPC::BCC || I->getOperand(2).isImm()) { + if (I->getOpcode() != PPC::BCC || I->getOperand(2).isImmediate()) { MBBStartOffset += getNumBytesForInstruction(I); continue; } |