diff options
author | Chris Lattner <sabre@nondot.org> | 2010-02-18 02:49:24 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-02-18 02:49:24 +0000 |
commit | 8ef9c7958ad7a23ad15d7ff59e1377aec10ca42a (patch) | |
tree | 19903cad87abe39857fad8df3aa9d21e532a940c /utils/TableGen/DAGISelMatcher.cpp | |
parent | f6afae2f49ed65a6a482257c7e55520857d751b7 (diff) |
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
Diffstat (limited to 'utils/TableGen/DAGISelMatcher.cpp')
-rw-r--r-- | utils/TableGen/DAGISelMatcher.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/TableGen/DAGISelMatcher.cpp b/utils/TableGen/DAGISelMatcher.cpp index 83061093bc..c6d18ce7dd 100644 --- a/utils/TableGen/DAGISelMatcher.cpp +++ b/utils/TableGen/DAGISelMatcher.cpp @@ -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"; |