mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-10 18:34:09 +00:00
Don't map registers to the invalid dwarf register (-1). It's the default value.
X86GenRegisterInfo.inc | 1032 ------------------------------------------------- 1 file changed, 1032 deletions(-) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150080 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c635ebdb1a
commit
9bcc7a6973
@ -187,6 +187,9 @@ RegisterInfoEmitter::EmitRegMapping(raw_ostream &OS,
|
|||||||
for (DwarfRegNumsMapTy::iterator
|
for (DwarfRegNumsMapTy::iterator
|
||||||
I = DwarfRegNums.begin(), E = DwarfRegNums.end(); I != E; ++I) {
|
I = DwarfRegNums.begin(), E = DwarfRegNums.end(); I != E; ++I) {
|
||||||
int RegNo = I->second[i];
|
int RegNo = I->second[i];
|
||||||
|
if (RegNo == -1) // -1 is the default value, don't emit a mapping.
|
||||||
|
continue;
|
||||||
|
|
||||||
OS << " ";
|
OS << " ";
|
||||||
if (!isCtor)
|
if (!isCtor)
|
||||||
OS << "RI->";
|
OS << "RI->";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user