diff options
author | Jim Laskey <jlaskey@mac.com> | 2007-02-21 22:54:50 +0000 |
---|---|---|
committer | Jim Laskey <jlaskey@mac.com> | 2007-02-21 22:54:50 +0000 |
commit | 62819f31440fe1b1415473a89b8683b5b690d5fa (patch) | |
tree | 15d4772f397f6011515a6abcc413770db46bf346 /lib/Target/Sparc/SparcRegisterInfo.cpp | |
parent | b180aa17539e14a5430d020bbc7de83c79b7fc4b (diff) | |
download | llvm-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.cpp')
-rw-r--r-- | lib/Target/Sparc/SparcRegisterInfo.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/Target/Sparc/SparcRegisterInfo.cpp b/lib/Target/Sparc/SparcRegisterInfo.cpp index dab0b1037d..4ea31e2e8e 100644 --- a/lib/Target/Sparc/SparcRegisterInfo.cpp +++ b/lib/Target/Sparc/SparcRegisterInfo.cpp @@ -250,5 +250,15 @@ unsigned SparcRegisterInfo::getFrameRegister(MachineFunction &MF) const { return SP::G1; } +unsigned SparcRegisterInfo::getEHExceptionRegister() const { + assert(0 && "What is the exception register"); + return 0; +} + +unsigned SparcRegisterInfo::getEHHandlerRegister() const { + assert(0 && "What is the exception handler register"); + return 0; +} + #include "SparcGenRegisterInfo.inc" |