Skip to content

Commit

Permalink
Avoid recursive store for String
Browse files Browse the repository at this point in the history
  • Loading branch information
vchuravy committed Feb 18, 2025
1 parent 3776007 commit 318dd22
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 @@ -603,7 +603,7 @@ function julia_undef_value_for_type(
end

function create_recursive_stores(B::LLVM.IRBuilder, @nospecialize(Ty::DataType), @nospecialize(prev::LLVM.Value))::Nothing
if Base.datatype_pointerfree(Ty)
if Base.datatype_pointerfree(Ty) || Ty === String
return
end

Expand Down

0 comments on commit 318dd22

Please sign in to comment.