Skip to content

Commit

Permalink
Merge Compiler.isready and Base.isready (#56536)
Browse files Browse the repository at this point in the history
These didn't get merged when the Compiler moved out, because the Base
function doesn't get defined until very late in the build process.
However, they are semantically the same, so merge their method tables.
  • Loading branch information
Keno authored Nov 13, 2024
1 parent 505907b commit 1edc6f1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Compiler/src/Compiler.jl
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ using Base: Ordering, vect, EffectsOverride, BitVector, @_gc_preserve_begin, @_g
using Base.Order
import Base: getindex, setindex!, length, iterate, push!, isempty, first, convert, ==,
copy, popfirst!, in, haskey, resize!, copy!, append!, last, get!, size,
get, iterate, findall, min_world, max_world, _topmod
get, iterate, findall, min_world, max_world, _topmod, isready

const getproperty = Core.getfield
const setproperty! = Core.setfield!
Expand Down
2 changes: 2 additions & 0 deletions base/Base_compiler.jl
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,8 @@ function process_sysimg_args!()
end
process_sysimg_args!()

function isready end

include(strcat(BUILDROOT, "../usr/share/julia/Compiler/src/Compiler.jl"))

const _return_type = Compiler.return_type
Expand Down

0 comments on commit 1edc6f1

Please sign in to comment.