aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Execution/Frame.php
blob: da03e33a91c21a74d3f5bf0ba3a8556353de0190 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?php

declare(strict_types=1);

namespace Nsfisis\Waddiwasi\Execution;

final class Frame
{
    /**
     * @param int<0, max> $arity
     * @param list<int|float|Ref> $locals
     */
    public function __construct(
        public readonly int $arity,
        public array $locals,
        public readonly ModuleInst $module,
        public string $debugName,
    ) {
    }
}