Changes in directory llvm/lib/Target/SparcV9:

SparcV9RegisterInfo.cpp updated: 1.11 -> 1.12
SparcV9RegisterInfo.h updated: 1.10 -> 1.11
---
Log message:

Expose base register for DwarfWriter.  Refactor code accordingly.


---
Diffs of the changes:  (+5 -4)

 SparcV9RegisterInfo.cpp |    4 ++--
 SparcV9RegisterInfo.h   |    5 +++--
 2 files changed, 5 insertions(+), 4 deletions(-)


Index: llvm/lib/Target/SparcV9/SparcV9RegisterInfo.cpp
diff -u llvm/lib/Target/SparcV9/SparcV9RegisterInfo.cpp:1.11 
llvm/lib/Target/SparcV9/SparcV9RegisterInfo.cpp:1.12
--- llvm/lib/Target/SparcV9/SparcV9RegisterInfo.cpp:1.11        Thu Mar 23 
12:12:57 2006
+++ llvm/lib/Target/SparcV9/SparcV9RegisterInfo.cpp     Tue Mar 28 07:48:33 2006
@@ -318,7 +318,7 @@
 }
 
 
-void SparcV9RegisterInfo::getLocation(MachineFunction &MF, unsigned Index,
-                                      MachineLocation &ML) const {
+unsigned SparcV9RegisterInfo::getFrameRegister(MachineFunction &MF) const {
   abort ();
+  return 0;
 }


Index: llvm/lib/Target/SparcV9/SparcV9RegisterInfo.h
diff -u llvm/lib/Target/SparcV9/SparcV9RegisterInfo.h:1.10 
llvm/lib/Target/SparcV9/SparcV9RegisterInfo.h:1.11
--- llvm/lib/Target/SparcV9/SparcV9RegisterInfo.h:1.10  Thu Mar 23 12:12:57 2006
+++ llvm/lib/Target/SparcV9/SparcV9RegisterInfo.h       Tue Mar 28 07:48:33 2006
@@ -44,8 +44,9 @@
   void eliminateFrameIndex (MachineBasicBlock::iterator MI) const;
   void emitPrologue (MachineFunction &MF) const;
   void emitEpilogue (MachineFunction &MF, MachineBasicBlock &MBB) const;
-  void getLocation(MachineFunction &MF, unsigned Index,
-                   MachineLocation &ML) const;
+  
+  // Debug information queries.
+  unsigned getFrameRegister(MachineFunction &MF) const;
 };
 
 } // End llvm namespace



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to