fix unit test that I broke.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91877 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2009-12-22 01:38:23 +00:00
parent 651ad13d3c
commit 336e06bd0f

View File

@ -408,7 +408,7 @@ public:
// If this is the last PATypeHolder using this object, and there are no
// PATypeHandles using it, the type is dead, delete it now.
if (RefCount-- == 0 && AbstractTypeUsers.empty())
if (--RefCount == 0 && AbstractTypeUsers.empty())
this->destroy();
}