Skip to content

Commit

Permalink
Adapt to upstream changes. (#473)
Browse files Browse the repository at this point in the history
  • Loading branch information
maleadt committed Jun 19, 2023
1 parent 6bfe331 commit ef5e40f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/jlgen.jl
Original file line number Diff line number Diff line change
Expand Up @@ -573,6 +573,9 @@ function compile_method_instance(@nospecialize(job::CompilerJob); ctx::JuliaCont
@static if v"1.9.0-DEV.1660" <= VERSION < v"1.9.0-beta1" || VERSION >= v"1.10-"
cgparams = merge(cgparams, (;safepoint_on_entry = can_safepoint(job)))
end
@static if VERSION >= v"1.10.0-DEV.1499"
cgparams = merge(cgparams, (;gcstack_arg = false))
end
params = Base.CodegenParams(; cgparams...)

# generate IR
Expand Down

0 comments on commit ef5e40f

Please sign in to comment.