[llvm-commits] CVS: llvm/include/llvm/Target/MRegisterInfo.h

Jim Laskey jlaskey at apple.com
Wed Feb 21 14:55:21 PST 2007



Changes in directory llvm/include/llvm/Target:

MRegisterInfo.h updated: 1.94 -> 1.95
---
Log message:

Support to provide exception and selector registers.

---
Diffs of the changes:  (+9 -1)

 MRegisterInfo.h |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletion(-)


Index: llvm/include/llvm/Target/MRegisterInfo.h
diff -u llvm/include/llvm/Target/MRegisterInfo.h:1.94 llvm/include/llvm/Target/MRegisterInfo.h:1.95
--- llvm/include/llvm/Target/MRegisterInfo.h:1.94	Mon Feb 19 15:49:53 2007
+++ llvm/include/llvm/Target/MRegisterInfo.h	Wed Feb 21 16:54:50 2007
@@ -469,7 +469,15 @@
   /// getRARegister - This method should return the register where the return
   /// address can be found.
   virtual unsigned getRARegister() const = 0;
-                            
+  
+  /// getEHExceptionRegister - This method should return the register containing
+  /// the address of the exception info on entry to a landing pad.
+  virtual unsigned getEHExceptionRegister() const = 0;
+  
+  /// getEHHandlerRegister - This method should return the register containing
+  /// the switch table selection on entry to an landing pad.
+  virtual unsigned getEHHandlerRegister() const = 0;
+
   /// getLocation - This method should return the actual location of a frame
   /// variable given the frame index.  The location is returned in ML.
   /// Subclasses should override this method for special handling of frame






More information about the llvm-commits mailing list