diff options
author | Bill Wendling <isanbard@gmail.com> | 2011-07-06 20:33:48 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2011-07-06 20:33:48 +0000 |
commit | 486dd90696545421c55346570b88fa03f6dd464f (patch) | |
tree | 213cf0b9464e945e41be43db2da65e64e737ae9f /include | |
parent | b262799d49891b036daa00eddf51947487346c98 (diff) | |
download | llvm-486dd90696545421c55346570b88fa03f6dd464f.tar.gz llvm-486dd90696545421c55346570b88fa03f6dd464f.tar.bz2 llvm-486dd90696545421c55346570b88fa03f6dd464f.tar.xz |
Constify getCompactUnwindRegNum.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134527 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Target/TargetAsmInfo.h | 4 | ||||
-rw-r--r-- | include/llvm/Target/TargetRegisterInfo.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/Target/TargetAsmInfo.h b/include/llvm/Target/TargetAsmInfo.h index 1a417a1159..9beff25bcf 100644 --- a/include/llvm/Target/TargetAsmInfo.h +++ b/include/llvm/Target/TargetAsmInfo.h @@ -107,8 +107,8 @@ public: return TRI->getSEHRegNum(RegNum); } - int getCompactUnwindRegNum(unsigned RegNum) const { - return TRI->getCompactUnwindRegNum(RegNum); + int getCompactUnwindRegNum(unsigned RegNum, bool isEH) const { + return TRI->getCompactUnwindRegNum(RegNum, isEH); } }; diff --git a/include/llvm/Target/TargetRegisterInfo.h b/include/llvm/Target/TargetRegisterInfo.h index 3f28f6cd31..8d827f117b 100644 --- a/include/llvm/Target/TargetRegisterInfo.h +++ b/include/llvm/Target/TargetRegisterInfo.h @@ -723,7 +723,7 @@ public: /// getCompactUnwindRegNum - This function maps the register to the number for /// compact unwind encoding. Return -1 if the register isn't valid. - virtual int getCompactUnwindRegNum(unsigned) const { + virtual int getCompactUnwindRegNum(unsigned, bool) const { return -1; } }; |