diff --git a/lib/CodeGen/AsmPrinter/AddressPool.h b/lib/CodeGen/AsmPrinter/AddressPool.h index 2c391fa6482..d0c9b0d8577 100644 --- a/lib/CodeGen/AsmPrinter/AddressPool.h +++ b/lib/CodeGen/AsmPrinter/AddressPool.h @@ -26,6 +26,7 @@ class AddressPool { AddressPoolEntry(unsigned Number, bool TLS) : Number(Number), TLS(TLS) {} }; DenseMap Pool; + public: /// \brief Returns the index into the address pool with the given /// label/symbol. diff --git a/lib/CodeGen/AsmPrinter/DwarfFile.h b/lib/CodeGen/AsmPrinter/DwarfFile.h index 2316566c2de..279468409b3 100644 --- a/lib/CodeGen/AsmPrinter/DwarfFile.h +++ b/lib/CodeGen/AsmPrinter/DwarfFile.h @@ -53,6 +53,7 @@ class DwarfFile { std::string StringPref; AddressPool AddrPool; + public: DwarfFile(AsmPrinter *AP, const char *Pref, BumpPtrAllocator &DA);