Teach the always inliner to release its inline cost estimates, like the basic

inliner did in r103653. Why does the always inliner even bother with cost
estimates anyways?


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103858 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Nick Lewycky 2010-05-15 04:26:25 +00:00
parent 1462a9b97f
commit 54b78dca4e

View File

@ -54,6 +54,9 @@ namespace {
return removeDeadFunctions(CG, &NeverInline);
}
virtual bool doInitialization(CallGraph &CG);
void releaseMemory() {
CA.clear();
}
};
}