diff options
| author | Chris Lattner <sabre@nondot.org> | 2009-12-22 01:38:23 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2009-12-22 01:38:23 +0000 |
| commit | 3d1205b3a8c324369e4e8118ebd98f3a9f53ff6e (patch) | |
| tree | d94a971cde09fb44eef8c6d6176c6ce091fccfe8 | |
| parent | ac08758b71f16cec460fd7ad69f72539646c4a7c (diff) | |
| download | bcm5719-llvm-3d1205b3a8c324369e4e8118ebd98f3a9f53ff6e.tar.gz bcm5719-llvm-3d1205b3a8c324369e4e8118ebd98f3a9f53ff6e.zip | |
fix unit test that I broke.
llvm-svn: 91877
| -rw-r--r-- | llvm/include/llvm/Type.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/Type.h b/llvm/include/llvm/Type.h index 47a62f82530..e5169824f80 100644 --- a/llvm/include/llvm/Type.h +++ b/llvm/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(); } |

