aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
authorMike Stump <mrs@apple.com>2009-02-13 20:17:16 +0000
committerMike Stump <mrs@apple.com>2009-02-13 20:17:16 +0000
commit7d6dc4ff45917c480d8b3350385337f34511ebaf (patch)
treec0fbdb430898220b6a8d00a6190106dd23ae167c /lib/CodeGen/CodeGenModule.h
parent6f72da53cebcb905f79acc0316a3d1b27b44c127 (diff)
Let the backend unique these.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64486 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenModule.h')
-rw-r--r--lib/CodeGen/CodeGenModule.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/CodeGen/CodeGenModule.h b/lib/CodeGen/CodeGenModule.h
index 020f74cddd..bd5a20c68c 100644
--- a/lib/CodeGen/CodeGenModule.h
+++ b/lib/CodeGen/CodeGenModule.h
@@ -131,7 +131,6 @@ class CodeGenModule {
const llvm::Type *GenericBlockLiteralType;
struct {
int GlobalUniqueCount;
- int DescriptorUniqueCount;
} Block;
std::vector<llvm::Function *> BuiltinFunctions;
@@ -148,7 +147,6 @@ public:
llvm::Constant *getNSConcreteGlobalBlock();
llvm::Constant *getNSConcreteStackBlock();
int getGlobalUniqueCount() { return ++Block.GlobalUniqueCount; }
- int getDescriptorUniqueCount() { return ++Block.DescriptorUniqueCount; }
const llvm::Type *getBlockDescriptorType();
const llvm::Type *getGenericBlockLiteralType();