diff options
| author | Chris Lattner <sabre@nondot.org> | 2008-01-01 01:05:34 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2008-01-01 01:05:34 +0000 |
| commit | 264e6fec9f3962cb269031d6d84cee9f896e0286 (patch) | |
| tree | af6818e607a034a6c52d66091621d2f5b1772b68 /lib/Target/PowerPC/PPCInstrInfo.cpp | |
| parent | 641055225092833197efe8e5bce01d50bcf1daae (diff) | |
Fix a bug in my previous patch: refer to the impl not the pure virtual version. It's unclear why gcc would ever compile this...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45476 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCInstrInfo.cpp')
| -rw-r--r-- | lib/Target/PowerPC/PPCInstrInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/PowerPC/PPCInstrInfo.cpp b/lib/Target/PowerPC/PPCInstrInfo.cpp index 9982f907b3..46cd4e69a8 100644 --- a/lib/Target/PowerPC/PPCInstrInfo.cpp +++ b/lib/Target/PowerPC/PPCInstrInfo.cpp @@ -132,7 +132,7 @@ unsigned PPCInstrInfo::isStoreToStackSlot(MachineInstr *MI, MachineInstr *PPCInstrInfo::commuteInstruction(MachineInstr *MI) const { // Normal instructions can be commuted the obvious way. if (MI->getOpcode() != PPC::RLWIMI) - return TargetInstrInfo::commuteInstruction(MI); + return TargetInstrInfoImpl::commuteInstruction(MI); // Cannot commute if it has a non-zero rotate count. if (MI->getOperand(3).getImm() != 0) |
