Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
wsmoses committed Dec 18, 2024
1 parent fb8398b commit 3a62e36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/errors.jl
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,7 @@ end

if isa(cur, LLVM.InsertValueInst)
B2 = IRBuilder()
position!(B2, LLVM.API.LLVMGetNextInstruction(cur))
position!(B2, LLVM.Instruction(LLVM.API.LLVMGetNextInstruction(cur)))

lhs = make_replacement(operands(cur)[1], B2)
if illegal
Expand Down

0 comments on commit 3a62e36

Please sign in to comment.