From f343d45e286b12174d36e485a51789dbb517ec24 Mon Sep 17 00:00:00 2001 From: Valentin Churavy Date: Mon, 13 Jan 2025 12:00:20 +0100 Subject: [PATCH] Avoid recursive store for String --- src/compiler.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler.jl b/src/compiler.jl index b61ec5854f..4807fefcce 100644 --- a/src/compiler.jl +++ b/src/compiler.jl @@ -595,7 +595,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