1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 12:12:47 +01:00

Suppress debug label when not debug.

llvm-svn: 27588
This commit is contained in:
Jim Laskey 2006-04-11 08:11:53 +00:00
parent 798acd4094
commit 1e0cbe4158

View File

@ -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();