Skip to content

Commit

Permalink
Update compiler.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
wsmoses authored Dec 24, 2024
1 parent 58c724a commit 0d64db2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compiler.jl
Original file line number Diff line number Diff line change
Expand Up @@ -620,7 +620,7 @@ function create_recursive_stores(B::LLVM.IRBuilder, @nospecialize(Ty::DataType),

T_pint8 = LLVM.PointerType(T_int8)

prev2 = bitcast!(B, prev2, LLVM.PointerType(T_int8, addrspace(value_type(prev))))
prev2 = bitcast!(B, prev, LLVM.PointerType(T_int8, addrspace(value_type(prev))))

for i in 1:fieldcount(Ty)
Ty2 = fieldtype(Ty, i)
Expand Down

0 comments on commit 0d64db2

Please sign in to comment.