Skip to content

Commit 35fc31d

Browse files
committed
fix deprecation warning
1 parent b4f6ccd commit 35fc31d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/spirv.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ function convert_i128_allocas!(mod::LLVM.Module)
330330
bitcast_ptr = bitcast!(builder, new_alloca, old_ptr_type)
331331

332332
replace_uses!(inst, bitcast_ptr)
333-
unsafe_delete!(bb, inst)
333+
erase!(inst)
334334
changed = true
335335
end
336336
end

0 commit comments

Comments
 (0)