Skip to content

Commit 81f79d5

Browse files
authored
remove call to find_throw_blocks in inlining (#37615)
This should now be handled by statement info.
1 parent 109a1e1 commit 81f79d5

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

base/compiler/ssair/inlining.jl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1145,11 +1145,7 @@ end
11451145
function assemble_inline_todo!(ir::IRCode, state::InliningState)
11461146
# todo = (inline_idx, (isva, isinvoke, na), method, spvals, inline_linetable, inline_ir, lie)
11471147
todo = Pair{Int, Any}[]
1148-
if state.params.unoptimize_throw_blocks
1149-
skip = find_throw_blocks(ir.stmts.inst, RefValue(ir))
1150-
end
11511148
for idx in 1:length(ir.stmts)
1152-
state.params.unoptimize_throw_blocks && idx in skip && continue
11531149
r = process_simple!(ir, todo, idx, state)
11541150
r === nothing && continue
11551151

0 commit comments

Comments
 (0)