Skip to content

Commit

Permalink
删除旧版本createLowerSwitchPass
Browse files Browse the repository at this point in the history
  • Loading branch information
KomiMoe committed May 26, 2022
1 parent 034686a commit fd871c0
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions llvm/lib/Transforms/Obfuscation/Flattening.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,7 @@ bool Flattening::flatten(Function *f) {
// END OF SCRAMBLER

// Lower switch
#if LLVM_VERSION_MAJOR * 10 + LLVM_VERSION_MINOR >= 90
FunctionPass *lower = createLegacyLowerSwitchPass();
#else
FunctionPass *lower = createLowerSwitchPass();
#endif
lower->runOnFunction(*f);

// Save all original BB
Expand Down

0 comments on commit fd871c0

Please sign in to comment.