Skip to content

Commit

Permalink
Change var ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
mondokm committed Nov 6, 2024
1 parent 09d16e2 commit c5e2fec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ fun CFA.toMonolithicExpr(): MonolithicExpr {
transExpr,
propExpr,
offsetIndex,
vars = listOf(locVar) + this.vars.toList(),
vars = this.vars.toList() + listOf(locVar),
)
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ fun XCFA.toMonolithicExpr(parseContext: ParseContext): MonolithicExpr {
transExpr = And(transUnfold.exprs),
propExpr = Neq(locVar.ref, int(map[proc.errorLoc.get()]!!)),
transOffsetIndex = transUnfold.indexing,
vars = listOf(locVar) + this.vars.map { it.wrappedVar }.toList(),
vars = this.vars.map { it.wrappedVar }.toList() + listOf(locVar),
)
}

Expand Down

0 comments on commit c5e2fec

Please sign in to comment.