mirror of
https://github.com/github/codeql.git
synced 2026-06-02 20:30:15 +02:00
Fix global value numbering calculation
This commit is contained in:
@@ -200,7 +200,7 @@ private ControlFlow::Node mostRecentSideEffect(ControlFlow::Node entry, ControlF
|
||||
|
||||
cached
|
||||
private ControlFlow::Node mostRecentSideEffectUnique(ControlFlow::Node node) {
|
||||
result = unique( | | mostRecentSideEffect(_, node))
|
||||
result = unique( | | mostRecentSideEffect(getControlFlowEntry(node), node))
|
||||
}
|
||||
|
||||
/** Used to represent the "global value number" of an expression. */
|
||||
|
||||
Reference in New Issue
Block a user