mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-23 06:35:25 +00:00
enhance comment output to specify what recorded slot
numbers a ComplexPat will match into. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97696 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -252,7 +252,7 @@ void MatcherGen::EmitLeafMatchCode(const TreePatternNode *N) {
|
||||
|
||||
// Emit a CheckComplexPat operation, which does the match (aborting if it
|
||||
// fails) and pushes the matched operands onto the recorded nodes list.
|
||||
AddMatcher(new CheckComplexPatMatcher(CP));
|
||||
AddMatcher(new CheckComplexPatMatcher(CP, NextRecordedOperandNo));
|
||||
|
||||
// Record the right number of operands.
|
||||
NextRecordedOperandNo += CP.getNumOperands();
|
||||
|
||||
Reference in New Issue
Block a user