diff options
author | Bill Wendling <isanbard@gmail.com> | 2009-02-03 02:29:34 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2009-02-03 02:29:34 +0000 |
commit | 67cd395d4575ebf48bdf4fa4eda6eec7c2358cf3 (patch) | |
tree | c94a717932ff40af9cb7c79bd8b0d58fab215066 /llvm/lib/CodeGen/GCStrategy.cpp | |
parent | 135227a060a14062555c32ace1e2a158d153ecb9 (diff) | |
download | bcm5719-llvm-67cd395d4575ebf48bdf4fa4eda6eec7c2358cf3.tar.gz bcm5719-llvm-67cd395d4575ebf48bdf4fa4eda6eec7c2358cf3.zip |
Explicitly pass in debug location information to BuildMI.
llvm-svn: 63599
Diffstat (limited to 'llvm/lib/CodeGen/GCStrategy.cpp')
-rw-r--r-- | llvm/lib/CodeGen/GCStrategy.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/GCStrategy.cpp b/llvm/lib/CodeGen/GCStrategy.cpp index 96b81226bd9..b851c074c21 100644 --- a/llvm/lib/CodeGen/GCStrategy.cpp +++ b/llvm/lib/CodeGen/GCStrategy.cpp @@ -329,7 +329,8 @@ void MachineCodeAnalysis::getAnalysisUsage(AnalysisUsage &AU) const { unsigned MachineCodeAnalysis::InsertLabel(MachineBasicBlock &MBB, MachineBasicBlock::iterator MI) const { unsigned Label = MMI->NextLabelID(); - BuildMI(MBB, MI, TII->get(TargetInstrInfo::GC_LABEL)).addImm(Label); + BuildMI(MBB, MI, MI->getDebugLoc(), + TII->get(TargetInstrInfo::GC_LABEL)).addImm(Label); return Label; } |