summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-12-22 01:38:23 +0000
committerChris Lattner <sabre@nondot.org>2009-12-22 01:38:23 +0000
commit3d1205b3a8c324369e4e8118ebd98f3a9f53ff6e (patch)
treed94a971cde09fb44eef8c6d6176c6ce091fccfe8
parentac08758b71f16cec460fd7ad69f72539646c4a7c (diff)
downloadbcm5719-llvm-3d1205b3a8c324369e4e8118ebd98f3a9f53ff6e.tar.gz
bcm5719-llvm-3d1205b3a8c324369e4e8118ebd98f3a9f53ff6e.zip
fix unit test that I broke.
llvm-svn: 91877
-rw-r--r--llvm/include/llvm/Type.h2
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();
}
OpenPOWER on IntegriCloud