forked from OSchip/llvm-project
parent
c812e5f44e
commit
79c2e891c0
|
@ -9,10 +9,6 @@
|
|||
|
||||
#include "llvm/Analysis/DSSupport.h"
|
||||
|
||||
#ifndef NDEBUG
|
||||
#define INCLUDE_PARENT_GRAPH 1
|
||||
#endif
|
||||
|
||||
template<typename BaseType>
|
||||
class DSNodeIterator; // Data structure graph traversal iterator
|
||||
|
||||
|
@ -41,11 +37,9 @@ class DSNode {
|
|||
///
|
||||
unsigned Size;
|
||||
|
||||
#ifdef INCLUDE_PARENT_GRAPH
|
||||
/// ParentGraph - The graph this node is currently embedded into.
|
||||
///
|
||||
DSGraph *ParentGraph;
|
||||
#endif
|
||||
|
||||
/// Ty - Keep track of the current outer most type of this object, in addition
|
||||
/// to whether or not it has been indexed like an array or not. If the
|
||||
|
@ -130,10 +124,8 @@ public:
|
|||
/// return the number of nodes forwarding over the node!
|
||||
unsigned getNumReferrers() const { return NumReferrers; }
|
||||
|
||||
#ifdef INCLUDE_PARENT_GRAPH
|
||||
DSGraph *getParentGraph() const { return ParentGraph; }
|
||||
void setParentGraph(DSGraph *G) { ParentGraph = G; }
|
||||
#endif
|
||||
|
||||
/// getForwardNode - This method returns the node that this node is forwarded
|
||||
/// to, if any.
|
||||
|
|
Loading…
Reference in New Issue