Skip to content

Commit 8ad0c1c

Browse files
committed
fix #11963, remove apparently redundant shift operator definitions
1 parent afc6308 commit 8ad0c1c

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

base/int.jl

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -95,14 +95,6 @@ for T in IntTypes
9595
(&)(x::$T, y::$T) = box($T,and_int(unbox($T,x),unbox($T,y)))
9696
(|)(x::$T, y::$T) = box($T, or_int(unbox($T,x),unbox($T,y)))
9797
($)(x::$T, y::$T) = box($T,xor_int(unbox($T,x),unbox($T,y)))
98-
99-
<<(x::$T, y::Int) = box($T, shl_int(unbox($T,x),unbox(Int,y)))
100-
>>>(x::$T, y::Int) = box($T,lshr_int(unbox($T,x),unbox(Int,y)))
101-
end
102-
if issubtype(T,Unsigned)
103-
@eval >>(x::$T, y::Int) = box($T,lshr_int(unbox($T,x),unbox(Int,y)))
104-
else
105-
@eval >>(x::$T, y::Int) = box($T,ashr_int(unbox($T,x),unbox(Int,y)))
10698
end
10799
for S in IntTypes
108100
(S === Int128 || S === UInt128) && continue

0 commit comments

Comments
 (0)