From b9505f6bed33c56e2e57f1f8782827cf9bf8613f Mon Sep 17 00:00:00 2001 From: Kalle Raiskila Date: Tue, 11 Jan 2011 11:27:56 +0000 Subject: [PATCH] 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 --- lib/Target/CellSPU/SPUNopFiller.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }