_same_allocation

func _same_allocation(lhs: RawPtr, rhs: RawPtr) -> Bool

Returns whether both pointers refer to the same managed allocation.

View Source
pub func _same_allocation(lhs: RawPtr, rhs: RawPtr) -> Bool {
	#_ir(lhs, rhs) { %? = cmp RawPtr $0 == $1 }
}