aboutsummaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-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; }
};