Skip to content

Commit

Permalink
LBE fix
Browse files Browse the repository at this point in the history
  • Loading branch information
csanadtelbisz committed Jan 18, 2024
1 parent 64e1160 commit e712a35
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ class LbePass(val parseContext: ParseContext) : ProcedurePass {
if (location.outgoingEdges.size != 1) return false
val outEdge = location.outgoingEdges.first()
if (
location.incomingEdges.any { edge -> edge.getFlatLabels().any { it is InvokeLabel || (it is StmtLabel && it.stmt is AssumeStmt) } }
location.incomingEdges.any { edge -> edge.getFlatLabels().any { it is InvokeLabel } }
|| location.outgoingEdges.any { edge -> edge.getFlatLabels().any { it is InvokeLabel } }
|| (level == LbeLevel.LBE_LOCAL && !atomicPhase && isNotLocal(outEdge))
) {
Expand Down

0 comments on commit e712a35

Please sign in to comment.