diff options
author | Chris Lattner <sabre@nondot.org> | 2010-02-26 08:06:02 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-02-26 08:06:02 +0000 |
commit | 1ffcde2f3b220072149459cb8441446b93051b84 (patch) | |
tree | d8a6a9238b22292a79da94f01e75ca1f2e317582 /llvm/utils/TableGen | |
parent | a6142a241a24a574e905e0964ec0860ca00c3b7a (diff) | |
download | bcm5719-llvm-1ffcde2f3b220072149459cb8441446b93051b84.tar.gz bcm5719-llvm-1ffcde2f3b220072149459cb8441446b93051b84.zip |
fix same bug in CheckChainCompatibleMatcher::isEqualImpl
llvm-svn: 97217
Diffstat (limited to 'llvm/utils/TableGen')
-rw-r--r-- | llvm/utils/TableGen/DAGISelMatcher.h | 2 |
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; } }; |