summaryrefslogtreecommitdiffstats
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
commit1ffcde2f3b220072149459cb8441446b93051b84 (patch)
treed8a6a9238b22292a79da94f01e75ca1f2e317582
parenta6142a241a24a574e905e0964ec0860ca00c3b7a (diff)
downloadbcm5719-llvm-1ffcde2f3b220072149459cb8441446b93051b84.tar.gz
bcm5719-llvm-1ffcde2f3b220072149459cb8441446b93051b84.zip
fix same bug in CheckChainCompatibleMatcher::isEqualImpl
llvm-svn: 97217
-rw-r--r--llvm/utils/TableGen/DAGISelMatcher.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/TableGen/DAGISelMatcher.h b/llvm/utils/TableGen/DAGISelMatcher.h
index b5c6e55641c..ec61fcd1dab 100644
--- a/llvm/utils/TableGen/DAGISelMatcher.h
+++ b/llvm/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; }
};
OpenPOWER on IntegriCloud