|
155 | 155 | end |
156 | 156 |
|
157 | 157 | const nofreefns = Set{String}(( |
| 158 | + "ijl_gc_run_pending_finalizers", "jl_gc_run_pending_finalizers", |
158 | 159 | "ijl_typeassert", "jl_typeassert", |
159 | 160 | "ijl_f_isdefined", "jl_f_isdefined", |
160 | 161 | "ijl_field_index", "jl_field_index", |
@@ -3312,7 +3313,7 @@ function annotate!(mod, mode) |
3312 | 3313 | end |
3313 | 3314 | end |
3314 | 3315 |
|
3315 | | - for fname in ("julia.typeof",) |
| 3316 | + for fname in ("julia.typeof", "jl_object_id_", "jl_object_id", "ijl_object_id_", "ijl_object_id") |
3316 | 3317 | if haskey(fns, fname) |
3317 | 3318 | fn = fns[fname] |
3318 | 3319 | if LLVM.version().major <= 15 |
@@ -3487,17 +3488,6 @@ function annotate!(mod, mode) |
3487 | 3488 | end |
3488 | 3489 | end |
3489 | 3490 |
|
3490 | | - for rfn in ("jl_object_id_", "jl_object_id", "ijl_object_id_", "ijl_object_id") |
3491 | | - if haskey(fns, rfn) |
3492 | | - fn = fns[rfn] |
3493 | | - if LLVM.version().major <= 15 |
3494 | | - push!(function_attributes(fn), LLVM.EnumAttribute("readnone")) |
3495 | | - else |
3496 | | - push!(function_attributes(fn), EnumAttribute("memory", NoEffects.data)) |
3497 | | - end |
3498 | | - end |
3499 | | - end |
3500 | | - |
3501 | 3491 | # Key of jl_eqtable_get/put is inactive, definitionally |
3502 | 3492 | for rfn in ("jl_eqtable_get", "ijl_eqtable_get") |
3503 | 3493 | if haskey(fns, rfn) |
|
0 commit comments