mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-26 12:20:42 +00:00
Revert r191940 to see if it fixes the build bots.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191941 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -51,11 +51,7 @@ static void ContractNodes(OwningPtr<Matcher> &MatcherPtr,
|
||||
if (MC->getChildNo() < 8 && // Only have CheckChildType0...7
|
||||
CT->getResNo() == 0) // CheckChildType checks res #0
|
||||
New = new CheckChildTypeMatcher(MC->getChildNo(), CT->getType());
|
||||
|
||||
if (CheckSameMatcher *CS = dyn_cast<CheckSameMatcher>(MC->getNext()))
|
||||
if (MC->getChildNo() < 4) // Only have CheckChildSame0...3
|
||||
New = new CheckChildSameMatcher(MC->getChildNo(), CS->getMatchNumber());
|
||||
|
||||
|
||||
if (New) {
|
||||
// Insert the new node.
|
||||
New->setNext(MatcherPtr.take());
|
||||
|
||||
Reference in New Issue
Block a user