Skip to content

Commit 9743ec9

Browse files
committed
[stdlib] loading a reference can’t use loadUnaligned
1 parent 26b2f7b commit 9743ec9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/core/ArrayBuffer.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -586,7 +586,7 @@ extension _ArrayBuffer {
586586
_storage.objCInstance,
587587
_ArrayBuffer.associationKey
588588
) {
589-
let buffer = assocPtr.loadUnaligned(
589+
let buffer = assocPtr.load(
590590
as: _ContiguousArrayStorage<Element>.self
591591
)
592592
return _ContiguousArrayBuffer(buffer)

0 commit comments

Comments
 (0)