diff options
author | Dan Gohman <gohman@apple.com> | 2010-05-05 20:58:01 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-05-05 20:58:01 +0000 |
commit | f62cd20b6285fc250a7a752ff963aa8fd9650048 (patch) | |
tree | 7b1db125424e643779d754b8597af3822ece10c5 /llvm/lib/Target/Mips/MipsInstrInfo.cpp | |
parent | 44d7f498872d66a3ab4b73b75071e12bcae2ea80 (diff) | |
download | bcm5719-llvm-f62cd20b6285fc250a7a752ff963aa8fd9650048.tar.gz bcm5719-llvm-f62cd20b6285fc250a7a752ff963aa8fd9650048.zip |
No-ops emitted for scheduling don't correspond with anything in the
user's source, so don't arbitrarily assign them a debug location.
llvm-svn: 103121
Diffstat (limited to 'llvm/lib/Target/Mips/MipsInstrInfo.cpp')
-rw-r--r-- | llvm/lib/Target/Mips/MipsInstrInfo.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/Target/Mips/MipsInstrInfo.cpp b/llvm/lib/Target/Mips/MipsInstrInfo.cpp index dbd3c24dc1c..700fb642c36 100644 --- a/llvm/lib/Target/Mips/MipsInstrInfo.cpp +++ b/llvm/lib/Target/Mips/MipsInstrInfo.cpp @@ -124,7 +124,6 @@ void MipsInstrInfo:: insertNoop(MachineBasicBlock &MBB, MachineBasicBlock::iterator MI) const { DebugLoc DL; - if (MI != MBB.end()) DL = MI->getDebugLoc(); BuildMI(MBB, MI, DL, get(Mips::NOP)); } |