Skip to content

Commit e8ae5da

Browse files
authored
boot.jl: Remove duplicated definition (#54784)
The same definition exists a few lines earlier. Split from #54654 where it would be an error to try to do this before the invalidation mechanism exists, but the change is generally applicable.
1 parent 6ec2b1f commit e8ae5da

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

base/boot.jl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -546,8 +546,6 @@ GenericMemoryRef(mem::GenericMemory) = memoryref(mem)
546546
GenericMemoryRef(mem::GenericMemory, i::Integer) = memoryref(mem, i)
547547
GenericMemoryRef(mem::GenericMemoryRef, i::Integer) = memoryref(mem, i)
548548

549-
const Memory{T} = GenericMemory{:not_atomic, T, CPU}
550-
const MemoryRef{T} = GenericMemoryRef{:not_atomic, T, CPU}
551549
const AtomicMemory{T} = GenericMemory{:atomic, T, CPU}
552550
const AtomicMemoryRef{T} = GenericMemoryRef{:atomic, T, CPU}
553551

0 commit comments

Comments
 (0)