Skip to content

Commit 2b0de8f

Browse files
committed
autoformat
1 parent a7fe50f commit 2b0de8f

File tree

5 files changed

+659
-656
lines changed

5 files changed

+659
-656
lines changed

src/main/scala/ir/IRCursor.scala

-1
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,6 @@ def dotBlockGraph(blocks: Iterable[Block], orphaned: Set[Block]): String = {
316316
toDot[Block](blocks.toSet, IntraProcBlockIRCursor, labels, orphaned)
317317
}
318318

319-
320319
def dotBlockGraph(program: Procedure, labels: Map[CFGPosition, String]): String = {
321320
val domain = computeDomain[CFGPosition, Block](IntraProcBlockIRCursor, program.blocks.toSet)
322321
val o = getDetachedBlocks(program).reachableFromBlockEmptyPred

src/main/scala/ir/IRType.scala

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ case class MapType(param: IRType, result: IRType) extends IRType(s"[$param]$resu
2626
def coerceToBool(e: Expr): Expr = {
2727
e.getType match {
2828
case BitVecType(s) => BinaryExpr(BVNEQ, e, BitVecLiteral(0, s))
29-
case IntType => BinaryExpr(IntNEQ, e, IntLiteral(0))
30-
case BoolType => e
29+
case IntType => BinaryExpr(IntNEQ, e, IntLiteral(0))
30+
case BoolType => e
3131
case MapType(_, _) => ???
3232
}
3333
}

0 commit comments

Comments
 (0)