We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3582987 commit 6135f45Copy full SHA for 6135f45
stdlib/public/core/Shims.swift
@@ -47,7 +47,7 @@ internal func _mallocSize(ofAllocation ptr: UnsafeRawPointer) -> Int? {
47
48
@inline(__always) @inlinable @_effects(readonly)
49
internal func _mallocSizeIfHeap(ofAllocation ptr: UnsafeRawPointer) -> Int? {
50
- if !Builtin.isOnStack(ptr) { return nil }
+ if Builtin.isOnStack(ptr) { return nil }
51
return _mallocSize(ofAllocation: ptr)
52
}
53
0 commit comments