summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
Diffstat (limited to 'llvm')
-rw-r--r--llvm/include/llvm/CodeGen/DIE.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/include/llvm/CodeGen/DIE.h b/llvm/include/llvm/CodeGen/DIE.h
index ea7fa2d9131..8e40ef77d37 100644
--- a/llvm/include/llvm/CodeGen/DIE.h
+++ b/llvm/include/llvm/CodeGen/DIE.h
@@ -215,11 +215,12 @@ public:
isLocList,
};
-protected:
+private:
/// Ty - Type of data stored in the value.
///
Type Ty;
+protected:
explicit DIEValue(Type T) : Ty(T) {}
~DIEValue() {}
OpenPOWER on IntegriCloud