Skip to content

Commit

Permalink
add back an alias for check_top_bit (#53523)
Browse files Browse the repository at this point in the history
Used in some packages (e.g. rfourquet/BitIntegers.jl)
Renamed in #53166
  • Loading branch information
KristofferC authored Feb 29, 2024
1 parent 84ae351 commit 24aaf00
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions base/boot.jl
Original file line number Diff line number Diff line change
Expand Up @@ -969,6 +969,7 @@ arrayset(inbounds::Bool, A::Array{T}, x::Any, i::Int...) where {T} = Main.Base.s
arraysize(a::Array) = a.size
arraysize(a::Array, i::Int) = sle_int(i, nfields(a.size)) ? getfield(a.size, i) : 1
export arrayref, arrayset, arraysize, const_arrayref
const check_top_bit = check_sign_bit

# For convenience
EnterNode(old::EnterNode, new_dest::Int) = isdefined(old, :scope) ?
Expand Down

0 comments on commit 24aaf00

Please sign in to comment.