git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@310174
91177308-0d34-0410-b5e6-
96231b3b80d8
assert(G->lookupRefSCC(SourceN) == this && "Source must be in this RefSCC.");
- RefSCC &TargetC = *G->lookupRefSCC(TargetN);
- assert(&TargetC != this && "Target must not be in this RefSCC.");
+ assert(G->lookupRefSCC(TargetN) != this &&
+ "Target must not be in this RefSCC.");
#ifdef EXPENSIVE_CHECKS
- assert(TargetC.isDescendantOf(*this) &&
+ assert(G->lookupRefSCC(TargetN)->isDescendantOf(*this) &&
"Target must be a descendant of the Source.");
#endif