We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 073efe3 + d8e725d commit f5a0645Copy full SHA for f5a0645
src/jlgen.jl
@@ -361,13 +361,17 @@ function compile_method_instance(@nospecialize(job::CompilerJob),
361
362
# set-up the compiler interface
363
debug_info_kind = llvm_debug_info(job)
364
- params = Base.CodegenParams(;
+ cgparams = (;
365
track_allocations = false,
366
code_coverage = false,
367
prefer_specsig = true,
368
gnu_pubnames = false,
369
debug_info_kind = Cint(debug_info_kind),
370
lookup = Base.unsafe_convert(Ptr{Nothing}, lookup_cb))
371
+ @static if VERSION >= v"1.9.0-DEV.1660"
372
+ cgparams = merge(cgparams, (;safepoint_on_entry = false))
373
+ end
374
+ params = Base.CodegenParams(;cgparams...)
375
376
# generate IR
377
GC.@preserve lookup_cb begin
0 commit comments