mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-24 08:24:33 +00:00
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
This commit is contained in:
@ -333,7 +333,7 @@ unsigned SparcRegisterInfo::getEHHandlerRegister() const {
|
||||
return 0;
|
||||
}
|
||||
|
||||
int SparcRegisterInfo::getDwarfRegNum(unsigned RegNum) const {
|
||||
int SparcRegisterInfo::getDwarfRegNum(unsigned RegNum, bool isEH) const {
|
||||
assert(0 && "What is the dwarf register number");
|
||||
return -1;
|
||||
}
|
||||
|
@ -97,7 +97,7 @@ struct SparcRegisterInfo : public SparcGenRegisterInfo {
|
||||
unsigned getEHExceptionRegister() const;
|
||||
unsigned getEHHandlerRegister() const;
|
||||
|
||||
int getDwarfRegNum(unsigned RegNum) const;
|
||||
int getDwarfRegNum(unsigned RegNum, bool isEH) const;
|
||||
};
|
||||
|
||||
} // end namespace llvm
|
||||
|
Reference in New Issue
Block a user