Skip to content

Commit ef30d9f

Browse files
committed
Fixed renumbering of destination of jump nodes (e.g. GotoIfNot and Goto).
1 parent fc57e44 commit ef30d9f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/misc.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ end
5353
push!(b, Expr(:code_coverage_effect))
5454
push!(b, Expr(:call, :foo, 2))
5555
push!(b, Expr(:code_coverage_effect))
56+
push!(b, Core.GotoNode(14))
5657
return!(b, nothing)
5758
start = finish(b)
5859
display(start)

0 commit comments

Comments
 (0)