Fix a thinko in 123226 that caused test failures on "other" platforms.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123229 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Kalle Raiskila 2011-01-11 11:27:56 +00:00
parent 48eec43fdb
commit b9505f6bed

View File

@ -123,7 +123,7 @@ runOnMachineBasicBlock(MachineBasicBlock &MBB)
else {
J++;
DEBUG( dbgs() <<"Padding basic block with LNOP\n"; );
BuildMI(MBB, J, J->getDebugLoc(), TII->get(SPU::LNOP));
BuildMI(MBB, J, DebugLoc(), TII->get(SPU::LNOP));
}
isEvenPlace=true;
}