Skip to content

Commit ca3cd8b

Browse files
authored
verify_ir: BBNumber is Int not Int64 (#47271)
1 parent ed786ba commit ca3cd8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

base/compiler/ssair/verify.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ function verify_ir(ir::IRCode, print::Bool=true, allow_frontend_forms::Bool=fals
197197
error("")
198198
end
199199
edge == 0 && continue
200-
if bb_unreachable(domtree, Int64(edge))
200+
if bb_unreachable(domtree, Int(edge))
201201
# TODO: Disallow?
202202
#@verify_error "Unreachable edge from #$edge should have been cleaned up at idx $idx"
203203
#error("")

0 commit comments

Comments
 (0)