[LiveDebugVariables] Delete unneeded doInitialization

This commit is contained in:
Fangrui Song 2020-09-04 13:27:42 -07:00
parent 3b64052a25
commit 398ba37230
2 changed files with 0 additions and 5 deletions

View File

@ -1444,10 +1444,6 @@ void LiveDebugVariables::emitDebugValues(VirtRegMap *VRM) {
static_cast<LDVImpl*>(pImpl)->emitDebugValues(VRM);
}
bool LiveDebugVariables::doInitialization(Module &M) {
return Pass::doInitialization(M);
}
#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
LLVM_DUMP_METHOD void LiveDebugVariables::dump() const {
if (pImpl)

View File

@ -56,7 +56,6 @@ private:
bool runOnMachineFunction(MachineFunction &) override;
void releaseMemory() override;
void getAnalysisUsage(AnalysisUsage &) const override;
bool doInitialization(Module &) override;
};
} // end namespace llvm