mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-21 21:29:41 +00:00
Skip fields that don't exist in the Register class.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133470 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c882df2560
commit
9b718e8864
@ -236,7 +236,8 @@ struct TupleExpander : SetTheory::Expander {
|
||||
if (RV.getName() == "DwarfNumbers" ||
|
||||
RV.getName() == "DwarfAlias" ||
|
||||
RV.getName() == "Aliases") {
|
||||
NewReg->addValue(*RegisterCl->getValue(RV.getName()));
|
||||
if (const RecordVal *DefRV = RegisterCl->getValue(RV.getName()))
|
||||
NewReg->addValue(*DefRV);
|
||||
continue;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user