Skip to content

Commit

Permalink
Remove TR_DebugExt friend class
Browse files Browse the repository at this point in the history
TR_DebugExt was defined in Eclipse OpenJ9. However, as it no longer
exists, there is no need for this declaration in OMR.

Signed-off-by: Irwin D'Souza <dsouzai.gh@gmail.com>
  • Loading branch information
dsouzai committed May 25, 2021
1 parent fd57308 commit d299610
Show file tree
Hide file tree
Showing 13 changed files with 0 additions and 27 deletions.
2 changes: 0 additions & 2 deletions compiler/compile/OMRCompilation.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -287,8 +287,6 @@ namespace OMR

class OMR_EXTENSIBLE Compilation
{
friend class ::TR_DebugExt;

protected:

inline TR::Compilation *self();
Expand Down
1 change: 0 additions & 1 deletion compiler/control/OptimizationPlan.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ struct TR_MethodToBeCompiled;
class TR_OptimizationPlan
{
public:
friend class TR_DebugExt;
TR_PERSISTENT_ALLOC(TR_Memory::OptimizationPlan)

// Eliminate explicit constructors so that we do not crash
Expand Down
2 changes: 0 additions & 2 deletions compiler/env/OMRPersistentInfo.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ namespace OMR { typedef PersistentInfo PersistentInfoConnector; }
#include "codegen/TableOfConstants.hpp"

class TR_AddressSet;
class TR_DebugExt;
class TR_FrontEnd;
class TR_PersistentMemory;
class TR_PseudoRandomNumbersListElement;
Expand Down Expand Up @@ -66,7 +65,6 @@ namespace OMR
class PersistentInfo
{
public:
friend class ::TR_DebugExt;
friend class ::OMR::Options;
PersistentInfo(TR_PersistentMemory *pm) :
_persistentMemory(pm),
Expand Down
4 changes: 0 additions & 4 deletions compiler/env/TRMemory.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,6 @@ class TR_PersistentMemory : public TR_MemoryBase
uintptr_t _signature; // eyecatcher

friend class TR_Memory;
friend class TR_DebugExt;

/** Used by TR_PPCTableOfCnstants */
static TR::PersistentInfo * getNonThreadSafePersistentInfo();
Expand Down Expand Up @@ -612,11 +611,8 @@ class Region;
class StackMemoryRegion;
}

class TR_DebugExt;

class TR_Memory : public TR_MemoryBase
{
friend class TR_DebugExt;
public:
TR_HeapMemory trHeapMemory() { return this; }
TR_StackMemory trStackMemory() { return this; }
Expand Down
6 changes: 0 additions & 6 deletions compiler/il/OMRILOps.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
#include "infra/Assert.hpp"
#include "infra/Flags.hpp"

class TR_DebugExt;
namespace TR { class SymbolReference; }

namespace OMR
Expand Down Expand Up @@ -1413,11 +1412,6 @@ class ILOpCode
TR::ILChildPropType childProperties() const { return _opCodeProperties[_opCode].childTypes; }

static OpCodeProperties _opCodeProperties[TR::NumIlOps];

private:

friend class ::TR_DebugExt;

};

/**
Expand Down
2 changes: 0 additions & 2 deletions compiler/il/OMRNode.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ namespace OMR { typedef OMR::Node NodeConnector; }

class TR_BitVector;
class TR_Debug;
class TR_DebugExt;
class TR_UseOnlyAliasSetInterface;
class TR_UseDefAliasSetInterface;
class TR_OpaqueClassBlock;
Expand Down Expand Up @@ -1854,7 +1853,6 @@ class OMR_EXTENSIBLE Node
TR::Node * getExtendedChild(int32_t c);
TR_YesNoMaybe computeIsCollectedReferenceImpl(TR::NodeChecklist &processedNodesCollected, TR::NodeChecklist &processedNodesNotCollected);

friend class ::TR_DebugExt;
friend class TR::NodePool;


Expand Down
1 change: 0 additions & 1 deletion compiler/il/OMRRegisterMappedSymbol.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,6 @@ class OMR_EXTENSIBLE RegisterMappedSymbol : public TR::Symbol
void setMethodMetaDataType(TR_MethodMetaDataType type);

protected:
friend class ::TR_DebugExt;

TR_MethodMetaDataType _type;

Expand Down
1 change: 0 additions & 1 deletion compiler/il/OMRTreeTop.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ class OMR_EXTENSIBLE TreeTop
{

public:
friend class TR_DebugExt;
TR_ALLOC_WITHOUT_NEW(TR_Memory::TreeTop)

/// Downcast to concrete type
Expand Down
1 change: 0 additions & 1 deletion compiler/infra/Array.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
template<class T> class TR_Array
{
public:
friend class TR_DebugExt;
TR_ALLOC(TR_Memory::Array);


Expand Down
2 changes: 0 additions & 2 deletions compiler/infra/Link.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,6 @@ template<class T> class TR_LinkHead0
*/
template <class T> class TR_Link1
{
friend class TR_DebugExt;

public:
TR_Link1(T *n = 0) : _next(n), _valid(false) { }
T *getNext() {
Expand Down
2 changes: 0 additions & 2 deletions compiler/optimizer/OMROptimizer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,6 @@ enum

class Optimizer
{
friend class ::TR_DebugExt;

public:

TR_ALLOC(TR_Memory::Machine)
Expand Down
2 changes: 0 additions & 2 deletions compiler/optimizer/PreExistence.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@ enum PrexKnowledgeLevel { NONE, PREEXISTENT, FIXED_CLASS, KNOWN_OBJECT };

class TR_PrexArgument
{
friend class TR_DebugExt;

public:

TR_ALLOC(TR_Memory::LocalOpts);
Expand Down
1 change: 0 additions & 1 deletion compiler/runtime/OMRRuntimeAssumptions.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ enum AssumptionSameJittedBodyFlags

class RuntimeAssumption
{
friend class ::TR_DebugExt;
friend class ::TR_RuntimeAssumptionTable;

protected:
Expand Down

0 comments on commit d299610

Please sign in to comment.