summaryrefslogtreecommitdiffstats
path: root/llvm/include
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2016-12-01 21:59:09 +0000
committerDavid Blaikie <dblaikie@gmail.com>2016-12-01 21:59:09 +0000
commite40caaee99a9a34030f33fe5548f22b26d02db8b (patch)
tree216cdc8ec125190194d06a0b4abcffd547dc2028 /llvm/include
parent76b913c470327fbc1a95cd5fc98b78b0f6980695 (diff)
downloadbcm5719-llvm-e40caaee99a9a34030f33fe5548f22b26d02db8b.tar.gz
bcm5719-llvm-e40caaee99a9a34030f33fe5548f22b26d02db8b.zip
[debug info] Minor cleanup from D27170/r288399
llvm-svn: 288421
Diffstat (limited to 'llvm/include')
-rw-r--r--llvm/include/llvm/CodeGen/DIE.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/llvm/include/llvm/CodeGen/DIE.h b/llvm/include/llvm/CodeGen/DIE.h
index 341c07f73dd..6872f77c191 100644
--- a/llvm/include/llvm/CodeGen/DIE.h
+++ b/llvm/include/llvm/CodeGen/DIE.h
@@ -619,10 +619,6 @@ class DIE : IntrusiveBackListNode, public DIEValueList {
DIE() = delete;
explicit DIE(dwarf::Tag Tag) : Offset(0), Size(0), Tag(Tag) {}
-protected:
- void setUnit(DIEUnit *U) {
- Owner = U;
- }
public:
static DIE *get(BumpPtrAllocator &Alloc, dwarf::Tag Tag) {
return new (Alloc) DIE(Tag);
@@ -706,7 +702,6 @@ public:
//===--------------------------------------------------------------------===//
/// Represents a compile or type unit.
class DIEUnit {
-protected:
/// The compile unit or type unit DIE. This variable must be an instance of
/// DIE so that we can calculate the DIEUnit from any DIE by traversing the
/// parent backchain and getting the Unit DIE, and then casting itself to a
OpenPOWER on IntegriCloud