From d51ce619c3d26d0a0d391ede7c2ed72d279a501a Mon Sep 17 00:00:00 2001 From: Jim Laskey Date: Fri, 25 Aug 2006 19:40:59 +0000 Subject: [PATCH] Fix some comments. llvm-svn: 29880 --- llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp b/llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp index a6c52bf398fd..d0a21e661a06 100644 --- a/llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp +++ b/llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp @@ -673,7 +673,10 @@ void PPCRegisterInfo::emitPrologue(MachineFunction &MF) const { MachineLocation Src(MachineLocation::VirtualFP, NegNumbytes); Moves.push_back(new MachineMove(LabelID, Dst, Src)); + // Mark effective beginning of when frame pointer becomes valid. BuildMI(MBB, MBBI, PPC::DWARF_LABEL, 1).addImm(LabelID); + + } // If there is a frame pointer, copy R1 (SP) into R31 (FP) @@ -727,7 +730,7 @@ unsigned PPCRegisterInfo::getFrameRegister(MachineFunction &MF) const { void PPCRegisterInfo::getInitialFrameState(std::vector &Moves) const { - // Initial state is the frame pointer is R1. + // Initial state of the frame pointer is R1. MachineLocation Dst(MachineLocation::VirtualFP); MachineLocation Src(PPC::R1, 0); Moves.push_back(new MachineMove(0, Dst, Src));