summaryrefslogtreecommitdiff
path: root/lib/Target/Sparc/SparcRegisterInfo.h
diff options
context:
space:
mode:
authorJim Laskey <jlaskey@mac.com>2007-02-21 22:54:50 +0000
committerJim Laskey <jlaskey@mac.com>2007-02-21 22:54:50 +0000
commit62819f31440fe1b1415473a89b8683b5b690d5fa (patch)
tree15d4772f397f6011515a6abcc413770db46bf346 /lib/Target/Sparc/SparcRegisterInfo.h
parentb180aa17539e14a5430d020bbc7de83c79b7fc4b (diff)
downloadllvm-62819f31440fe1b1415473a89b8683b5b690d5fa.tar.gz
llvm-62819f31440fe1b1415473a89b8683b5b690d5fa.tar.bz2
llvm-62819f31440fe1b1415473a89b8683b5b690d5fa.tar.xz
Support to provide exception and selector registers.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34482 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Sparc/SparcRegisterInfo.h')
-rw-r--r--lib/Target/Sparc/SparcRegisterInfo.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Target/Sparc/SparcRegisterInfo.h b/lib/Target/Sparc/SparcRegisterInfo.h
index 763156a70c..426cc664a4 100644
--- a/lib/Target/Sparc/SparcRegisterInfo.h
+++ b/lib/Target/Sparc/SparcRegisterInfo.h
@@ -70,6 +70,10 @@ struct SparcRegisterInfo : public SparcGenRegisterInfo {
// Debug information queries.
unsigned getRARegister() const;
unsigned getFrameRegister(MachineFunction &MF) const;
+
+ // Exception handling queries.
+ unsigned getEHExceptionRegister() const;
+ unsigned getEHHandlerRegister() const;
};
} // end namespace llvm