mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +00:00
enhance RecordNode and RecordChild comments to indicate what
slot they're recording into, no functionality change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97433 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -43,7 +43,8 @@ static void ContractNodes(OwningPtr<Matcher> &MatcherPtr,
|
||||
if (MoveChildMatcher *MC = dyn_cast<MoveChildMatcher>(N)) {
|
||||
Matcher *New = 0;
|
||||
if (RecordMatcher *RM = dyn_cast<RecordMatcher>(MC->getNext()))
|
||||
New = new RecordChildMatcher(MC->getChildNo(), RM->getWhatFor());
|
||||
New = new RecordChildMatcher(MC->getChildNo(), RM->getWhatFor(),
|
||||
RM->getResultNo());
|
||||
|
||||
if (CheckTypeMatcher *CT= dyn_cast<CheckTypeMatcher>(MC->getNext()))
|
||||
New = new CheckChildTypeMatcher(MC->getChildNo(), CT->getType());
|
||||
|
Reference in New Issue
Block a user