Skip to content

Commit

Permalink
[LiveDebugVariables] Delete unneeded doInitialization
Browse files Browse the repository at this point in the history
  • Loading branch information
MaskRay committed Sep 4, 2020
1 parent 3b64052 commit 398ba37
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
4 changes: 0 additions & 4 deletions llvm/lib/CodeGen/LiveDebugVariables.cpp
Expand Up @@ -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)
Expand Down
1 change: 0 additions & 1 deletion llvm/lib/CodeGen/LiveDebugVariables.h
Expand Up @@ -56,7 +56,6 @@ class LLVM_LIBRARY_VISIBILITY LiveDebugVariables : public MachineFunctionPass {
bool runOnMachineFunction(MachineFunction &) override;
void releaseMemory() override;
void getAnalysisUsage(AnalysisUsage &) const override;
bool doInitialization(Module &) override;
};

} // end namespace llvm
Expand Down

0 comments on commit 398ba37

Please sign in to comment.