Fix condition in LocationCheck::classof(). Thanks to Marius Wachtler for pointing this out!
llvm-svn: 88949
This commit is contained in:
parent
9b32e22ad1
commit
9dc2d26fdc
|
@ -221,7 +221,7 @@ protected:
|
||||||
|
|
||||||
static bool classof(const ProgramPoint *location) {
|
static bool classof(const ProgramPoint *location) {
|
||||||
unsigned k = location->getKind();
|
unsigned k = location->getKind();
|
||||||
return k == PreLoadKind || PreStoreKind;
|
return k == PreLoadKind || k == PreStoreKind;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue