Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8a3e87f

Browse files
committed
remove unnecessary one-step inline
1 parent 36b9f02 commit 8a3e87f

1 file changed

Lines changed: 2 additions & 8 deletions

File tree

javascript/ql/src/Performance/ReDoS.ql

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -887,14 +887,8 @@ StatePair getAForkPair(State fork) {
887887
predicate isPumpable(State fork, string w) {
888888
exists(StatePair q, Trace t |
889889
isReachableFromFork(fork, q, t, _) and
890-
(
891-
q = getAForkPair(fork) and w = concretise(t)
892-
or
893-
exists(InputSymbol s1, InputSymbol s2 |
894-
step(q, s1, s2, getAForkPair(fork)) and
895-
w = concretise(Step(s1, s2, t))
896-
)
897-
)
890+
q = getAForkPair(fork) and
891+
w = concretise(t)
898892
)
899893
}
900894

0 commit comments

Comments
 (0)