Skip to content

Commit df2acf2

Browse files
committed
Swap order of actor/decoder claiming
1 parent 27ab93c commit df2acf2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/IRGen/GenDistributed.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -641,12 +641,12 @@ void DistributedAccessor::emit() {
641641
auto *numWitnessTables = params.claimNext();
642642
// Reference to a `self` of the actor to be called.
643643
auto *actorSelf = params.claimNext();
644-
// Metadata that represents passed in the invocation decoder.
645-
auto *decoderType = params.claimNext();
646-
647644
// Metadata of the distributed actor the accessor is for.
648645
(void)params.claimNext();
649646

647+
// Metadata that represents passed in the invocation decoder.
648+
auto *decoderType = params.claimNext();
649+
650650
// Witness table for decoder conformance to DistributedTargetInvocationDecoder
651651
auto *decoderProtocolWitness = params.claimNext();
652652

0 commit comments

Comments
 (0)