diff options
author | Jim Laskey <jlaskey@mac.com> | 2006-04-11 08:11:53 +0000 |
---|---|---|
committer | Jim Laskey <jlaskey@mac.com> | 2006-04-11 08:11:53 +0000 |
commit | 52fa2449c9c1c8f8373faccb8968588211101e68 (patch) | |
tree | 9b93cd9d6a0a4dc2d50ceb29846e7a4637849f70 /lib/Target | |
parent | fcf5e21b96f3520b7873c9ab87f61ad2915406f6 (diff) | |
download | external_llvm-52fa2449c9c1c8f8373faccb8968588211101e68.zip external_llvm-52fa2449c9c1c8f8373faccb8968588211101e68.tar.gz external_llvm-52fa2449c9c1c8f8373faccb8968588211101e68.tar.bz2 |
Suppress debug label when not debug.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27588 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target')
-rw-r--r-- | lib/Target/PowerPC/PPCRegisterInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/PowerPC/PPCRegisterInfo.cpp b/lib/Target/PowerPC/PPCRegisterInfo.cpp index 67f5285..bc282cd 100644 --- a/lib/Target/PowerPC/PPCRegisterInfo.cpp +++ b/lib/Target/PowerPC/PPCRegisterInfo.cpp @@ -407,7 +407,7 @@ void PPCRegisterInfo::emitPrologue(MachineFunction &MF) const { .addReg(PPC::R1).addReg(PPC::R1).addReg(PPC::R0); } - if (DebugInfo) { + if (DebugInfo && DebugInfo->hasInfo()) { std::vector<MachineMove *> &Moves = DebugInfo->getFrameMoves(); unsigned LabelID = DebugInfo->NextLabelID(); |