Skip to content

Commit 71d683e

Browse files
committed
through bootstrap again
1 parent 9545f2b commit 71d683e

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

base/bitset.jl

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,12 +111,16 @@ end
111111
@inline function _growend0!(b::Bits, nchunks::Int)
112112
len = length(b)
113113
_growend!(b, nchunks)
114-
@inbounds b[len+1:end] = CHK0 # resize! gives dirty memory
114+
@inbounds for i in len+1:length(b)
115+
b[i] = CHK0 # resize! gives dirty memory
116+
end
115117
end
116118

117119
@inline function _growbeg0!(b::Bits, nchunks::Int)
118120
_growbeg!(b, nchunks)
119-
@inbounds b[1:nchunks] = CHK0
121+
@inbounds for i in 1:nchunks
122+
b[i] = CHK0
123+
end
120124
end
121125

122126
function _matched_map!(f, s1::BitSet, s2::BitSet)

base/char.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ widen(::Type{Char}) = Char
9797

9898
print(io::IO, c::Char) = (write(io, c); nothing)
9999

100-
const hex_chars = [0x30, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37, 0x38, 0x39,
100+
const hex_chars = [0x30, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37, 0x38, 0x39,
101101
0x61, 0x62, 0x63, 0x64, 0x65, 0x66, 0x67, 0x68, 0x69, 0x6a,
102102
0x6b, 0x6c, 0x6d, 0x6e, 0x6f, 0x70, 0x71, 0x72, 0x73, 0x74,
103103
0x75, 0x76, 0x77, 0x78, 0x79, 0x7a]

0 commit comments

Comments
 (0)