1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 20:23:11 +01:00

Remove unused Debugging variable.

This commit is contained in:
Eric Christopher 2020-05-13 14:36:53 -07:00
parent 57f831d2cb
commit 00fc32f855
2 changed files with 1 additions and 2 deletions

View File

@ -138,7 +138,6 @@ private:
const InlineParams Params;
const InliningAdvisorMode Mode;
const unsigned MaxDevirtIterations;
const bool Debugging;
CGSCCPassManager PM;
ModulePassManager MPM;
};

View File

@ -1041,7 +1041,7 @@ ModuleInlinerWrapperPass::ModuleInlinerWrapperPass(InlineParams Params,
InliningAdvisorMode Mode,
unsigned MaxDevirtIterations)
: Params(Params), Mode(Mode), MaxDevirtIterations(MaxDevirtIterations),
Debugging(Debugging), PM(Debugging), MPM(Debugging) {
PM(Debugging), MPM(Debugging) {
// Run the inliner first. The theory is that we are walking bottom-up and so
// the callees have already been fully optimized, and we want to inline them
// into the callers so that our optimizations can reflect that.