File tree Expand file tree Collapse file tree 2 files changed +9
-7
lines changed
Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -54,10 +54,11 @@ class ICFGWTO : public WTO<ICFG>
5454 Set<const FunObjVar*> scc;
5555
5656 explicit ICFGWTO (ICFG* graph,const ICFGNode* node, Set<const FunObjVar*> funcScc = {}) :
57- Base(graph, node), scc(funcScc){
58- if (scc.empty ()) // if empty funcScc, default use the function of the node
59- scc.insert (node->getFun ());
60- }
57+ Base(graph, node), scc(funcScc)
58+ {
59+ if (scc.empty ()) // if empty funcScc, default use the function of the node
60+ scc.insert (node->getFun ());
61+ }
6162
6263 virtual ~ICFGWTO ()
6364 {
Original file line number Diff line number Diff line change @@ -133,7 +133,8 @@ void AbstractInterpretation::initWTO()
133133 if (isEntry)
134134 {
135135 Set<const FunObjVar*> funcScc;
136- for (const auto & node: cgSCCNodes) {
136+ for (const auto & node: cgSCCNodes)
137+ {
137138 funcScc.insert (callGraph->getGNode (node)->getFunction ());
138139 }
139140 ICFGWTO* iwto = new ICFGWTO (icfg, icfg->getFunEntryICFGNode (fun), funcScc);
@@ -790,8 +791,8 @@ void AbstractInterpretation::handleCycleWTO(const ICFGCycleWTO*cycle)
790791 {
791792
792793 if (isRecursiveFun (cycle->head ()->getICFGNode ()->getFun ()) &&
793- !(Options::HandleRecur () == WIDEN_ONLY ||
794- Options::HandleRecur () == WIDEN_NARROW))
794+ !(Options::HandleRecur () == WIDEN_ONLY ||
795+ Options::HandleRecur () == WIDEN_NARROW))
795796 {
796797 // When Options::HandleRecur() == TOP, skipRecursiveCall will handle recursions,
797798 // thus should not reach this branch
You can’t perform that action at this time.
0 commit comments