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 | 7a7085f6d3b6d973d6d68291d58102dc56b1298b (patch) | |
| tree | 4cd3ea37d94c67eb04c9b4e9379eae3a1c9ad82c /llvm/lib/Target/Alpha | |
| parent | 1e5f64e2ea896e48584a2a198c8b0950d531b32f (diff) | |
| download | bcm5719-llvm-7a7085f6d3b6d973d6d68291d58102dc56b1298b.tar.gz bcm5719-llvm-7a7085f6d3b6d973d6d68291d58102dc56b1298b.zip | |
Add parameter to getDwarfRegNum to permit targets
to use different mappings for EH and debug info;
no functional change yet.
Fix warning in X86CodeEmitter.
llvm-svn: 44056
Diffstat (limited to 'llvm/lib/Target/Alpha')
| -rw-r--r-- | llvm/lib/Target/Alpha/AlphaRegisterInfo.cpp | 2 | ||||
| -rw-r--r-- | llvm/lib/Target/Alpha/AlphaRegisterInfo.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/Alpha/AlphaRegisterInfo.cpp b/llvm/lib/Target/Alpha/AlphaRegisterInfo.cpp index 6cf9df71346..3d1747e8cfb 100644 --- a/llvm/lib/Target/Alpha/AlphaRegisterInfo.cpp +++ b/llvm/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; } diff --git a/llvm/lib/Target/Alpha/AlphaRegisterInfo.h b/llvm/lib/Target/Alpha/AlphaRegisterInfo.h index cd7d47591da..6275cb4057e 100644 --- a/llvm/lib/Target/Alpha/AlphaRegisterInfo.h +++ b/llvm/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); }; |

