Skip to content

Commit

Permalink
vars -> globalvars (merge fix)
Browse files Browse the repository at this point in the history
  • Loading branch information
leventeBajczi committed Nov 11, 2024
1 parent f58aeea commit 6c5384a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ private fun XcfaLabel.collectGlobalVars(globalVars: Set<XcfaGlobalVar>): GlobalV
* second is similar for write access.
*/
fun XcfaEdge.collectIndirectGlobalVarAccesses(xcfa: XCFA): GlobalVarAccessMap {
val globalVars = xcfa.vars
val globalVars = xcfa.globalVars
val flatLabels = getFlatLabels()
val mutexes =
flatLabels.filterIsInstance<FenceLabel>().flatMap { it.acquiredMutexes }.toMutableSet()
Expand Down Expand Up @@ -293,7 +293,7 @@ fun XcfaEdge.getGlobalVarsWithNeededMutexes(
xcfa: XCFA,
currentMutexes: Set<String>,
): List<GlobalVarAccessWithMutexes> {
val globalVars = xcfa.vars
val globalVars = xcfa.globalVars
val neededMutexes = currentMutexes.toMutableSet()
val accesses = mutableListOf<GlobalVarAccessWithMutexes>()
getFlatLabels().forEach { label ->
Expand Down

0 comments on commit 6c5384a

Please sign in to comment.