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/AlphaRegisterInfo.h | |
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/AlphaRegisterInfo.h')
-rw-r--r-- | llvm/lib/Target/Alpha/AlphaRegisterInfo.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); }; |