Skip to content

Commit

Permalink
Fix insert value into new fn (#2215)
Browse files Browse the repository at this point in the history
  • Loading branch information
wsmoses authored Dec 22, 2024
1 parent 3d976fe commit f39e29d
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.Instruction(LLVM.API.LLVMGetNextInstruction(cur)))
position!(B2, LLVM.Instruction(LLVM.API.LLVMGetNextInstruction(ncur)))

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

0 comments on commit f39e29d

Please sign in to comment.