diff options
-rw-r--r-- | include/llvm/Type.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Type.h b/include/llvm/Type.h index 47a62f8253..e5169824f8 100644 --- a/include/llvm/Type.h +++ b/include/llvm/Type.h @@ -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(); } |