summaryrefslogtreecommitdiff
path: root/include/llvm/Constant.h
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2009-07-16 22:11:26 +0000
committerOwen Anderson <resistor@mac.com>2009-07-16 22:11:26 +0000
commitaad3fb7362aff151e97ad457005ea3f2872fe868 (patch)
tree78ad3b3efe4d503fc275adfe42a0102d52a78587 /include/llvm/Constant.h
parent24cd3c4711333ca1e07cbdb34475bccfeb762bb6 (diff)
downloadllvm-aad3fb7362aff151e97ad457005ea3f2872fe868.tar.gz
llvm-aad3fb7362aff151e97ad457005ea3f2872fe868.tar.bz2
llvm-aad3fb7362aff151e97ad457005ea3f2872fe868.tar.xz
Privatize the MDString uniquing table.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76113 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Constant.h')
-rw-r--r--include/llvm/Constant.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/Constant.h b/include/llvm/Constant.h
index 3dc5881bdf..62b75a77fb 100644
--- a/include/llvm/Constant.h
+++ b/include/llvm/Constant.h
@@ -54,6 +54,7 @@ namespace llvm {
class Constant : public User {
void operator=(const Constant &); // Do not implement
Constant(const Constant &); // Do not implement
+
protected:
Constant(const Type *ty, ValueTy vty, Use *Ops, unsigned NumOps)
: User(ty, vty, Ops, NumOps) {}