summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorJim Laskey <jlaskey@mac.com>2006-04-11 08:11:53 +0000
committerJim Laskey <jlaskey@mac.com>2006-04-11 08:11:53 +0000
commit02b3b72bfcab8240590c5b5db68188f4df477051 (patch)
tree60df595b320aae82ba01e89b8d66cf9530c59797 /llvm/lib
parent09a956271a85b3c11bbed5b16319f659ba78a794 (diff)
downloadbcm5719-llvm-02b3b72bfcab8240590c5b5db68188f4df477051.tar.gz
bcm5719-llvm-02b3b72bfcab8240590c5b5db68188f4df477051.zip
Suppress debug label when not debug.
llvm-svn: 27588
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp b/llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp
index 67f5285b7d2..bc282cd4730 100644
--- a/llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp
+++ b/llvm/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();
OpenPOWER on IntegriCloud