We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 318dd22 commit cfcfb48Copy full SHA for cfcfb48
src/compiler.jl
@@ -603,7 +603,7 @@ function julia_undef_value_for_type(
603
end
604
605
function create_recursive_stores(B::LLVM.IRBuilder, @nospecialize(Ty::DataType), @nospecialize(prev::LLVM.Value))::Nothing
606
- if Base.datatype_pointerfree(Ty) || Ty === String
+ if Base.datatype_pointerfree(Ty) || Base.datatype_fieldcount(Ty) == 0
607
return
608
609
0 commit comments