From e40caaee99a9a34030f33fe5548f22b26d02db8b Mon Sep 17 00:00:00 2001 From: David Blaikie Date: Thu, 1 Dec 2016 21:59:09 +0000 Subject: [debug info] Minor cleanup from D27170/r288399 llvm-svn: 288421 --- llvm/include/llvm/CodeGen/DIE.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'llvm/include') 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 -- cgit v1.2.3