forked from OSchip/llvm-project
Make implementation of ExplodedNodeImpl::addPredecessor out-of-line.
llvm-svn: 55402
This commit is contained in:
parent
5ca269e684
commit
6f7c419308
|
@ -110,11 +110,7 @@ protected:
|
|||
|
||||
/// addPredeccessor - Adds a predecessor to the current node, and
|
||||
/// in tandem add this node as a successor of the other node.
|
||||
void addPredecessor(ExplodedNodeImpl* V) {
|
||||
assert (!V->isSink());
|
||||
Preds.addNode(V);
|
||||
V->Succs.addNode(this);
|
||||
}
|
||||
void addPredecessor(ExplodedNodeImpl* V);
|
||||
|
||||
public:
|
||||
|
||||
|
|
|
@ -27,6 +27,12 @@ static inline std::vector<ExplodedNodeImpl*>& getVector(void* P) {
|
|||
return *reinterpret_cast<std::vector<ExplodedNodeImpl*>*>(P);
|
||||
}
|
||||
|
||||
void ExplodedNodeImpl::addPredecessor(ExplodedNodeImpl* V) {
|
||||
assert (!V->isSink());
|
||||
Preds.addNode(V);
|
||||
V->Succs.addNode(this);
|
||||
}
|
||||
|
||||
void ExplodedNodeImpl::NodeGroup::addNode(ExplodedNodeImpl* N) {
|
||||
|
||||
assert ((reinterpret_cast<uintptr_t>(N) & Mask) == 0x0);
|
||||
|
|
Loading…
Reference in New Issue