Skip to content

Commit

Permalink
more cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
fabianbs96 committed Oct 21, 2024
1 parent 5ebf858 commit 844b1ff
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class FlowEdgeFunctionCacheNG
void reserve(size_t NumInsts, size_t NumCalls, size_t NumFuns) {
this->FlowFunctionCache<ProblemTy, AutoAddZero>::reserve(NumInsts, NumCalls,
NumFuns);
/// TODO: reserve edge functions as well!
/// XXX: reserve edge functions as well, once possible!
}

[[nodiscard]] FlowEdgeFunctionCacheStats getStats() const noexcept {
Expand Down
6 changes: 0 additions & 6 deletions include/phasar/DataFlow/IfdsIde/Solver/FlowFunctionCache.h
Original file line number Diff line number Diff line change
Expand Up @@ -299,12 +299,6 @@ class FlowFunctionCache
/// XXX: The old FECache doesn't cache summary FFs, so refrain from doing
/// this here as well. Enable it, once the user-problems reliably return
/// std::nullptr_t such that caching can be disabled automatically

// return getFlowFunction<summary_ff_t>(
// SummaryFFCache, CSCalleeId, Problem,
// [CallSite, Callee](ProblemTy &Problem) {
// return Problem.getSummaryFlowFunction(CallSite, Callee);
// });
}

void clear() noexcept {
Expand Down
10 changes: 0 additions & 10 deletions include/phasar/DataFlow/IfdsIde/Solver/StaticIDESolverConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
* Fabian Schiebel
*****************************************************************************/

#include "phasar/DataFlow/IfdsIde/EdgeFunctions.h"
#include "phasar/DataFlow/IfdsIde/IDETabulationProblem.h"
#include "phasar/DataFlow/IfdsIde/IFDSTabulationProblem.h"
#include "phasar/DataFlow/IfdsIde/Solver/FlowEdgeFunctionCacheNG.h"
#include "phasar/DataFlow/IfdsIde/Solver/WorkListTraits.h"
Expand Down Expand Up @@ -101,14 +99,6 @@ using IFDSSolverConfigWithStatsAndGC =

template <typename ProblemTy, typename Enable = void>
struct DefaultIDESolverConfig : IDESolverConfig {};
// template <typename ProblemTy>
// struct DefaultIDESolverConfig<
// ProblemTy,
// std::enable_if_t<std::is_base_of_v<
// IFDSTabulationProblemLight<
// typename ProblemTy::ProblemAnalysisDomain::BaseAnalysisDomain,
// ProblemTy>,
// ProblemTy>>> : IFDSSolverConfig {};

template <typename ProblemTy>
struct DefaultIDESolverConfig<
Expand Down

0 comments on commit 844b1ff

Please sign in to comment.