Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
romainguy committed Oct 14, 2024
1 parent fbe51b9 commit a0d6f44
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ class CodeBuilder(private val codeStyle: CodeStyle) {
sb.append(indent)
val codeSize = method.codeSize
val instructionCount = method.instructionSet.instructions.size
writeLine("-- $instructionCount instruction${if (instructionCount > 1) "s" else ""} ${if (codeSize >= 0) "($codeSize bytes)" else ""}")
writeLine("-- $instructionCount instruction${if (instructionCount > 1) "s" else ""}${if (codeSize >= 0) " ($codeSize bytes)" else ""}")

val (pre, post) = countBranches(method.instructionSet)
val branches = pre + post
Expand Down

0 comments on commit a0d6f44

Please sign in to comment.