projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4397b9
)
fix a nasty bug in CheckTypeMatcher::isEqualImpl
author
Chris Lattner
<sabre@nondot.org>
Fri, 26 Feb 2010 08:05:36 +0000
(08:05 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Fri, 26 Feb 2010 08:05:36 +0000
(08:05 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97216
91177308
-0d34-0410-b5e6-
96231b3b80d8
utils/TableGen/DAGISelMatcher.h
patch
|
blob
|
history
diff --git
a/utils/TableGen/DAGISelMatcher.h
b/utils/TableGen/DAGISelMatcher.h
index df6389555b4b4094445304d293456c3cc94b5c94..b5c6e55641c1d875ef2f1bc97586a33ac2ea39f6 100644
(file)
--- a/
utils/TableGen/DAGISelMatcher.h
+++ b/
utils/TableGen/DAGISelMatcher.h
@@
-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; }
};