diff --git a/subprojects/xcfa/xcfa/src/main/java/hu/bme/mit/theta/xcfa/Utils.kt b/subprojects/xcfa/xcfa/src/main/java/hu/bme/mit/theta/xcfa/Utils.kt index 92e025866d..ab6378d3f6 100644 --- a/subprojects/xcfa/xcfa/src/main/java/hu/bme/mit/theta/xcfa/Utils.kt +++ b/subprojects/xcfa/xcfa/src/main/java/hu/bme/mit/theta/xcfa/Utils.kt @@ -261,7 +261,7 @@ private fun XcfaLabel.collectGlobalVars(globalVars: Set): 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().flatMap { it.acquiredMutexes }.toMutableSet() @@ -293,7 +293,7 @@ fun XcfaEdge.getGlobalVarsWithNeededMutexes( xcfa: XCFA, currentMutexes: Set, ): List { - val globalVars = xcfa.vars + val globalVars = xcfa.globalVars val neededMutexes = currentMutexes.toMutableSet() val accesses = mutableListOf() getFlatLabels().forEach { label ->