summaryrefslogtreecommitdiff
path: root/utils/TableGen/DAGISelMatcher.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-02-18 02:49:24 +0000
committerChris Lattner <sabre@nondot.org>2010-02-18 02:49:24 +0000
commit8ef9c7958ad7a23ad15d7ff59e1377aec10ca42a (patch)
tree19903cad87abe39857fad8df3aa9d21e532a940c /utils/TableGen/DAGISelMatcher.cpp
parentf6afae2f49ed65a6a482257c7e55520857d751b7 (diff)
downloadllvm-8ef9c7958ad7a23ad15d7ff59e1377aec10ca42a.tar.gz
llvm-8ef9c7958ad7a23ad15d7ff59e1377aec10ca42a.tar.bz2
llvm-8ef9c7958ad7a23ad15d7ff59e1377aec10ca42a.tar.xz
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.cpp2
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";