Skip to content
Snippets Groups Projects
Commit 1ffcde2f authored by Chris Lattner's avatar Chris Lattner
Browse files

fix same bug in CheckChainCompatibleMatcher::isEqualImpl

llvm-svn: 97217
parent a6142a24
No related branches found
No related tags found
No related merge requests found
...@@ -610,7 +610,7 @@ public: ...@@ -610,7 +610,7 @@ public:
private: private:
virtual void printImpl(raw_ostream &OS, unsigned indent) const; virtual void printImpl(raw_ostream &OS, unsigned indent) const;
virtual bool isEqualImpl(const Matcher *M) 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; } virtual unsigned getHashImpl() const { return PreviousOp; }
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment