Skip to content

Commit

Permalink
blah
Browse files Browse the repository at this point in the history
  • Loading branch information
ragusaa committed Jan 26, 2024
1 parent c682c3c commit c3d2b0c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions libclambcc/ClamBCAnalyzer/ClamBCAnalyzer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,11 @@ void ClamBCAnalysis::run(Module &m)
functions.push_back(F);
}

/*
* Remove all functions and re-insert them sorted by number of arguments.
* This is a requirement of the writer, but I have not verified that it is
* still necessary.
*/
for (size_t i = 0; i < functions.size(); i++) {
functions[i]->removeFromParent();
}
Expand Down

0 comments on commit c3d2b0c

Please sign in to comment.