Commit 09e86d5
bjjwwang
Continue to reduce the Options() handleRecur. (vibe-kanban 5f1e98b0)
I think you could continue to narrow down the usage of OPtions::HandleREcur(). I mean maybe you could put the option check inside the function.
For example,
"// Check if this recursive call should be skipped
if (shouldSkipRecursiveCall(callNode, funObjVar))
{
// In TOP mode, set return value and stores to TOP
// In WIDEN\_ONLY/WIDEN\_NARROW, just skip (WTO handles it)
if (Options::HandleRecur() == TOP)
handleSkippedRecursiveCall(callNode);
return;
}
"
maybe you should move the if check inside the function. You could try this way to reduce the Options::handleRecur as low as possible.1 parent bf793f8 commit 09e86d5
File tree
2 files changed
+7
-56
lines changed- svf
- include/AE/Svfexe
- lib/AE/Svfexe
2 files changed
+7
-56
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
348 | 348 | | |
349 | 349 | | |
350 | 350 | | |
351 | | - | |
352 | | - | |
353 | | - | |
354 | | - | |
| 351 | + | |
355 | 352 | | |
356 | 353 | | |
357 | 354 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
804 | 804 | | |
805 | 805 | | |
806 | 806 | | |
807 | | - | |
808 | | - | |
809 | | - | |
810 | | - | |
811 | | - | |
| 807 | + | |
812 | 808 | | |
813 | | - | |
| 809 | + | |
| 810 | + | |
814 | 811 | | |
815 | | - | |
816 | | - | |
817 | 812 | | |
818 | 813 | | |
819 | 814 | | |
| |||
950 | 945 | | |
951 | 946 | | |
952 | 947 | | |
953 | | - | |
954 | | - | |
955 | | - | |
956 | | - | |
957 | | - | |
958 | | - | |
959 | | - | |
960 | | - | |
961 | | - | |
962 | | - | |
963 | | - | |
| 948 | + | |
| 949 | + | |
964 | 950 | | |
965 | 951 | | |
966 | | - | |
967 | 952 | | |
968 | 953 | | |
969 | | - | |
970 | | - | |
971 | | - | |
972 | | - | |
973 | | - | |
974 | | - | |
975 | | - | |
976 | | - | |
977 | | - | |
978 | | - | |
979 | | - | |
980 | | - | |
981 | | - | |
982 | | - | |
983 | | - | |
984 | | - | |
985 | | - | |
986 | | - | |
987 | | - | |
988 | | - | |
989 | | - | |
990 | | - | |
991 | | - | |
992 | | - | |
993 | | - | |
994 | | - | |
995 | | - | |
996 | | - | |
997 | | - | |
| 954 | + | |
998 | 955 | | |
999 | 956 | | |
1000 | 957 | | |
| |||
1003 | 960 | | |
1004 | 961 | | |
1005 | 962 | | |
1006 | | - | |
1007 | 963 | | |
1008 | | - | |
1009 | 964 | | |
1010 | 965 | | |
1011 | 966 | | |
1012 | 967 | | |
1013 | | - | |
1014 | 968 | | |
1015 | 969 | | |
1016 | 970 | | |
| |||
0 commit comments