mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
fix a nasty bug in CheckTypeMatcher::isEqualImpl
llvm-svn: 97216
This commit is contained in:
parent
938c57ccc6
commit
a26437c8f2
@ -409,7 +409,7 @@ public:
|
||||
private:
|
||||
virtual void printImpl(raw_ostream &OS, unsigned indent) const;
|
||||
virtual bool isEqualImpl(const Matcher *M) const {
|
||||
return cast<CheckTypeMatcher>(this)->Type == Type;
|
||||
return cast<CheckTypeMatcher>(M)->Type == Type;
|
||||
}
|
||||
virtual unsigned getHashImpl() const { return Type; }
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user