forked from OSchip/llvm-project
[LCG] Remove yet another variable only used inside of asserts.
llvm-svn: 310174
This commit is contained in:
parent
ef42fd43f4
commit
691d0243a5
|
@ -917,10 +917,10 @@ void LazyCallGraph::RefSCC::insertOutgoingEdge(Node &SourceN, Node &TargetN,
|
||||||
|
|
||||||
assert(G->lookupRefSCC(SourceN) == this && "Source must be in this RefSCC.");
|
assert(G->lookupRefSCC(SourceN) == this && "Source must be in this RefSCC.");
|
||||||
|
|
||||||
RefSCC &TargetC = *G->lookupRefSCC(TargetN);
|
assert(G->lookupRefSCC(TargetN) != this &&
|
||||||
assert(&TargetC != this && "Target must not be in this RefSCC.");
|
"Target must not be in this RefSCC.");
|
||||||
#ifdef EXPENSIVE_CHECKS
|
#ifdef EXPENSIVE_CHECKS
|
||||||
assert(TargetC.isDescendantOf(*this) &&
|
assert(G->lookupRefSCC(TargetN)->isDescendantOf(*this) &&
|
||||||
"Target must be a descendant of the Source.");
|
"Target must be a descendant of the Source.");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue