Source/Packages

Runtime.NativePhysicalImage

packages/execution/src/Runtime/NativePhysicalImage.alpha

1,752 lines134 declarations75.3 KiBSHA-256 b192ff97eba3

def · lines 332–342

nativePhysicalImageKeepOperand

Full file
Seven operand slots, without the trailing slots that are the zero immediate. An omitted slot reads as the zero immediate (Runtime. NativePhysicalNative resolves a slot past a record's stored operands to 0), so trimming never changes an operand's value; it only drops the zero padding most commands carry. The aligned format restores all seven.
332def nativePhysicalImageKeepOperand =
333  (lambda unrestricted descriptor : Bytes .
334    (lambda unrestricted later : Bytes .
335      (nat-eliminate
336        (lambda unrestricted current : Nat . Bytes)
337        (bytes-append descriptor later)
338        (lambda unrestricted predecessor : Nat .
339          (lambda unrestricted ignored : Bytes . b""))
340        (naturalAnd
341          (bytes-equal later b"")
342          (bytes-equal descriptor (nativePhysicalImageOperandDescriptor nativePhysicalImageZeroOperand))))))

The compiler supplied declaration spans and resolved links from this source snapshot. This page does not assert that this file belongs to a checked closure.