Skip to content

Commit 71efffd

Browse files
authored
Merge pull request #9691 from rdmarsh2/rdmarsh2/swift/ssa-perf-1
Swift: remove check for inout params in SSA gen
2 parents 998a75e + 946d035 commit 71efffd

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

swift/ql/lib/codeql/swift/dataflow/internal/SsaImplSpecific.qll

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ predicate variableWrite(BasicBlock bb, int i, SourceVariable v, boolean certain)
3232
exists(CallExpr call, Argument arg |
3333
arg.getExpr().(InOutExpr).getSubExpr() = v.getAnAccess() and
3434
call.getAnArgument() = arg and
35-
call.getStaticTarget().getParam(arg.getIndex()).isInout() and
3635
bb.getNode(i).getNode().asAstNode() = call and
3736
certain = false
3837
)

0 commit comments

Comments
 (0)