Skip to content

Commit

Permalink
tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
polgreen committed May 9, 2024
1 parent a194f26 commit 70747bb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/scala/uclid/lang/BlockFlattener.scala
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,7 @@ class BlockFlattenerPass extends RewritePass {
val readSet = StatementScheduler.readSets(blk.asInstanceOf[BlockStmt].stmts, context)
acc ++ readSet
}
}.filter(id => context.map.contains(id) && context.map(id).isInstanceOf[Scope.StateVar]
&& (!id.name.startsWith("__ucld")))
}.filter(id => context.map.contains(id) && context.map(id).isInstanceOf[Scope.StateVar])

val writes = filteredStmts.foldLeft(Set.empty[Identifier]) {
(acc, blk) => {
Expand Down

0 comments on commit 70747bb

Please sign in to comment.