mirror of
https://github.com/github/codeql.git
synced 2026-07-20 18:58:36 +02:00
Merge pull request #9691 from rdmarsh2/rdmarsh2/swift/ssa-perf-1
Swift: remove check for inout params in SSA gen
This commit is contained in:
@@ -32,7 +32,6 @@ predicate variableWrite(BasicBlock bb, int i, SourceVariable v, boolean certain)
|
||||
exists(CallExpr call, Argument arg |
|
||||
arg.getExpr().(InOutExpr).getSubExpr() = v.getAnAccess() and
|
||||
call.getAnArgument() = arg and
|
||||
call.getStaticTarget().getParam(arg.getIndex()).isInout() and
|
||||
bb.getNode(i).getNode().asAstNode() = call and
|
||||
certain = false
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user