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.cpp | |
parent | 120119da1354e725da310fc3631162f18393d61b (diff) |
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.cpp')
-rw-r--r-- | lib/Target/Alpha/AlphaRegisterInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/Alpha/AlphaRegisterInfo.cpp b/lib/Target/Alpha/AlphaRegisterInfo.cpp index 6cf9df7134..3d1747e8cf 100644 --- a/lib/Target/Alpha/AlphaRegisterInfo.cpp +++ b/lib/Target/Alpha/AlphaRegisterInfo.cpp @@ -480,7 +480,7 @@ unsigned AlphaRegisterInfo::getEHHandlerRegister() const { return 0; } -int AlphaRegisterInfo::getDwarfRegNum(unsigned RegNum) const { +int AlphaRegisterInfo::getDwarfRegNum(unsigned RegNum, bool isEH) const { assert(0 && "What is the dwarf register number"); return -1; } |