parent
e9772aea47
commit
2977b857c2
|
@ -363,7 +363,7 @@ void BUDataStructures::deleteValue(Value *V) {
|
|||
return;
|
||||
}
|
||||
|
||||
if (Function *F = dyn_cast<Function>(F)) {
|
||||
if (Function *F = dyn_cast<Function>(V)) {
|
||||
assert(getDSGraph(*F).getReturnNodes().size() == 1 &&
|
||||
"cannot handle scc's");
|
||||
delete DSInfo[F];
|
||||
|
|
|
@ -304,7 +304,7 @@ void TDDataStructures::deleteValue(Value *V) {
|
|||
return;
|
||||
}
|
||||
|
||||
if (Function *F = dyn_cast<Function>(F)) {
|
||||
if (Function *F = dyn_cast<Function>(V)) {
|
||||
assert(getDSGraph(*F).getReturnNodes().size() == 1 &&
|
||||
"cannot handle scc's");
|
||||
delete DSInfo[F];
|
||||
|
|
Loading…
Reference in New Issue