Skip to content

Commit

Permalink
delete more global stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
dwightguth committed Sep 11, 2024
1 parent ae7849a commit f3e9f09
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/passes/MustTailDeadArgElimination.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,9 @@ class DAE : public ModulePass {

DAE()
: ModulePass(ID) {
#if LLVM_VERSION_MAJOR == 16
initializeDAEPass(*PassRegistry::getPassRegistry());
#endif
}

bool runOnModule(Module &M) override {
Expand All @@ -103,8 +105,10 @@ class DAE : public ModulePass {

char DAE::ID = 0;

#if LLVM_VERSION_MAJOR == 16
INITIALIZE_PASS(
DAE, "deadargelim-musttail", "Dead Argument Elimination", false, false)
#endif

namespace {

Expand Down

0 comments on commit f3e9f09

Please sign in to comment.