diff options
author | Dale Johannesen <dalej@apple.com> | 2007-11-13 19:13:01 +0000 |
---|---|---|
committer | Dale Johannesen <dalej@apple.com> | 2007-11-13 19:13:01 +0000 |
commit | b97aec663b1591e71c9ddee6dbb327d1b827eda5 (patch) | |
tree | 3d64d118c4e371a7ff0a0da507e580b94007768c /lib/Target/Alpha/AlphaRegisterInfo.h | |
parent | 120119da1354e725da310fc3631162f18393d61b (diff) | |
download | external_llvm-b97aec663b1591e71c9ddee6dbb327d1b827eda5.zip external_llvm-b97aec663b1591e71c9ddee6dbb327d1b827eda5.tar.gz external_llvm-b97aec663b1591e71c9ddee6dbb327d1b827eda5.tar.bz2 |
Add parameter to getDwarfRegNum to permit targets
to use different mappings for EH and debug info;
no functional change yet.
Fix warning in X86CodeEmitter.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44056 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Alpha/AlphaRegisterInfo.h')
-rw-r--r-- | lib/Target/Alpha/AlphaRegisterInfo.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/Alpha/AlphaRegisterInfo.h b/lib/Target/Alpha/AlphaRegisterInfo.h index cd7d475..6275cb4 100644 --- a/lib/Target/Alpha/AlphaRegisterInfo.h +++ b/lib/Target/Alpha/AlphaRegisterInfo.h @@ -93,7 +93,7 @@ struct AlphaRegisterInfo : public AlphaGenRegisterInfo { unsigned getEHExceptionRegister() const; unsigned getEHHandlerRegister() const; - int getDwarfRegNum(unsigned RegNum) const; + int getDwarfRegNum(unsigned RegNum, bool isEH) const; static std::string getPrettyName(unsigned reg); }; |