Source/Packages

Runtime.OrderedCombine

packages/execution/src/Runtime/OrderedCombine.alpha

329 lines62 declarations11.3 KiBSHA-256 c7d6a83584b8

def · lines 216–264

combineTransferIdentity

Full file
Edge scopes retain the admitted plan digest and length-delimited region with fixed-width stage/reference coordinates. They require no additional hash invocation; the frame schema checks their final bounded byte extent. All node references use postorder ordinals. Three fields per node are output, left operand and right operand. They are logical references, never host addresses. A target is free to pack only its reachable references.
216def combineTransferIdentity =
217  (lambda unrestricted anchor : (family RegionTransferIdentity) .
218    (lambda unrestricted digest : Bytes .
219      (lambda unrestricted stage : (family CombineStage) .
220        (lambda unrestricted source : (family CombineReference) .
221          (lambda unrestricted destination : (family CombineReference) .
222            (eliminate
223              RegionTransferIdentity
224              (lambda unrestricted current : (family RegionTransferIdentity) .
225                (family RegionTransferIdentity))
226              anchor
227              (branch
228                RegionTransferIdentityOf
229                composition
230                run
231                region
232                representation
233                round
234                operation
235                sender
236                receiver
237                interval
238                .
239                (constructor
240                  RegionTransferIdentity
241                  RegionTransferIdentityOf
242                  composition
243                  run
244                  (bytes-append
245                    b"alpha-combine-edge-v1"
246                    (bytes-append
247                      (regionFrameWord (bytes-length region))
248                      (bytes-append
249                        region
250                        (bytes-append
251                          digest
252                          (bytes-append
253                            (regionFrameWord (combineStageCode stage))
254                            (bytes-append
255                              (regionFrameWord (combineReferenceSlot source))
256                              (bytes-append
257                                (regionFrameWord (combineReferenceSlot destination))
258                                b"")))))))
259                  representation
260                  round
261                  operation
262                  (combineReferenceOwner source)
263                  (combineReferenceOwner destination)
264                  interval))))))))

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.