summaryrefslogtreecommitdiff
path: root/lib/Target/PowerPC/PPCRegisterInfo.cpp
diff options
context:
space:
mode:
authorJim Laskey <jlaskey@mac.com>2006-08-25 19:40:59 +0000
committerJim Laskey <jlaskey@mac.com>2006-08-25 19:40:59 +0000
commit4c2c9031acd1314440cdd0952182fa39b4efe90d (patch)
treef6b4fd80427f53b09670610d1fe093e2c37cb04f /lib/Target/PowerPC/PPCRegisterInfo.cpp
parent3d3d404b8a22c9e105bdc54bef24fb1dd7c5ad87 (diff)
downloadllvm-4c2c9031acd1314440cdd0952182fa39b4efe90d.tar.gz
llvm-4c2c9031acd1314440cdd0952182fa39b4efe90d.tar.bz2
llvm-4c2c9031acd1314440cdd0952182fa39b4efe90d.tar.xz
Fix some comments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29880 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCRegisterInfo.cpp')
-rw-r--r--lib/Target/PowerPC/PPCRegisterInfo.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/Target/PowerPC/PPCRegisterInfo.cpp b/lib/Target/PowerPC/PPCRegisterInfo.cpp
index a6c52bf398..d0a21e661a 100644
--- a/lib/Target/PowerPC/PPCRegisterInfo.cpp
+++ b/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<MachineMove *> &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));