aboutsummaryrefslogtreecommitdiff
path: root/utils/TableGen/DAGISelMatcher.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-02-26 08:06:02 +0000
committerChris Lattner <sabre@nondot.org>2010-02-26 08:06:02 +0000
commitbb08d89298630834c41c40841ee3df5d3f830ce2 (patch)
tree2a2c2cc6f89e517269cc5cd652aade0fb089b7e9 /utils/TableGen/DAGISelMatcher.h
parent38717f6ccfaa926ffa614f4232d744d4b50f5798 (diff)
fix same bug in CheckChainCompatibleMatcher::isEqualImpl
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97217 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/DAGISelMatcher.h')
-rw-r--r--utils/TableGen/DAGISelMatcher.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/TableGen/DAGISelMatcher.h b/utils/TableGen/DAGISelMatcher.h
index b5c6e55641..ec61fcd1da 100644
--- a/utils/TableGen/DAGISelMatcher.h
+++ b/utils/TableGen/DAGISelMatcher.h
@@ -610,7 +610,7 @@ public:
private:
virtual void printImpl(raw_ostream &OS, unsigned indent) const;
virtual bool isEqualImpl(const Matcher *M) const {
- return cast<CheckChainCompatibleMatcher>(this)->PreviousOp == PreviousOp;
+ return cast<CheckChainCompatibleMatcher>(M)->PreviousOp == PreviousOp;
}
virtual unsigned getHashImpl() const { return PreviousOp; }
};