Skip to content

Commit

Permalink
disable gcstack arg optimization
Browse files Browse the repository at this point in the history
  • Loading branch information
vchuravy committed Sep 29, 2023
1 parent a8aa2fd commit 09a9a83
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion base/reflection.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1378,7 +1378,7 @@ struct CodegenParams
prefer_specsig::Bool=false,
gnu_pubnames=true, debug_info_kind::Cint = default_debug_info_kind(),
safepoint_on_entry::Bool=true,
gcstack_arg::Bool=true, use_jlplt::Bool=true,
gcstack_arg::Bool=false, use_jlplt::Bool=true,
lookup::Ptr{Cvoid}=unsafe_load(cglobal(:jl_rettype_inferred_addr, Ptr{Cvoid})))
return new(
Cint(track_allocations), Cint(code_coverage),
Expand Down
2 changes: 1 addition & 1 deletion src/codegen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1364,7 +1364,7 @@ extern "C" {
#endif
/* debug_info_kind */ (int) DICompileUnit::DebugEmissionKind::FullDebug,
/* safepoint_on_entry */ 1,
/* gcstack_arg */ 1,
/* gcstack_arg */ 0,
/* use_jlplt*/ 1,
/* lookup */ jl_rettype_inferred_addr };
}
Expand Down

0 comments on commit 09a9a83

Please sign in to comment.