Changed condition of an assert.

llvm-svn: 80020
This commit is contained in:
Fariborz Jahanian 2009-08-25 18:53:16 +00:00
parent 9cc4970ed3
commit 4174f2de26
1 changed files with 1 additions and 1 deletions

View File

@ -174,7 +174,7 @@ public:
/// \brief Destroy the current statement and its children.
void Destroy(ASTContext &Ctx) {
assert(RefCount >= 0);
assert(RefCount >= 1);
if (--RefCount == 0)
DoDestroy(Ctx);
}