mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
more tidying up
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96891 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
188f428e4e
commit
53d09bd009
@ -1626,7 +1626,8 @@ static bool HandleUse(TreePattern *I, TreePatternNode *Pat,
|
||||
TreePatternNode *&Slot = InstInputs[Pat->getName()];
|
||||
if (!Slot) {
|
||||
Slot = Pat;
|
||||
} else {
|
||||
return true;
|
||||
}
|
||||
Record *SlotRec;
|
||||
if (Slot->isLeaf()) {
|
||||
SlotRec = dynamic_cast<DefInit*>(Slot->getLeafValue())->getDef();
|
||||
@ -1640,7 +1641,6 @@ static bool HandleUse(TreePattern *I, TreePatternNode *Pat,
|
||||
I->error("All $" + Pat->getName() + " inputs must agree with each other");
|
||||
if (Slot->getExtTypes() != Pat->getExtTypes())
|
||||
I->error("All $" + Pat->getName() + " inputs must agree with each other");
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user