mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +00:00
eliminate the MatcherNodeWithChild class, give the 'child'
field to MatcherNode. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96560 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -22,7 +22,7 @@ void EmitNodeMatcherNode::print(raw_ostream &OS, unsigned indent) const {
|
||||
OS.indent(indent) << "EmitNode: Dst = " << *Pattern.getDstPattern() << "\n";
|
||||
}
|
||||
|
||||
void MatcherNodeWithChild::printChild(raw_ostream &OS, unsigned indent) const {
|
||||
void MatcherNode::printChild(raw_ostream &OS, unsigned indent) const {
|
||||
if (Child)
|
||||
return Child->print(OS, indent);
|
||||
OS.indent(indent) << "<null child>\n";
|
||||
|
Reference in New Issue
Block a user