From: Kalle Raiskila Date: Tue, 11 Jan 2011 11:27:56 +0000 (+0000) Subject: Fix a thinko in 123226 that caused test failures on "other" platforms. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=b9505f6bed33c56e2e57f1f8782827cf9bf8613f;p=oota-llvm.git 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 --- diff --git a/lib/Target/CellSPU/SPUNopFiller.cpp b/lib/Target/CellSPU/SPUNopFiller.cpp index 54a5925d80f..e2bd2d7f410 100644 --- a/lib/Target/CellSPU/SPUNopFiller.cpp +++ b/lib/Target/CellSPU/SPUNopFiller.cpp @@ -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; }