aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/WebAssembly/Execution/Frame.php
blob: 331b43a6cb293dcee4af10037aa1d8da45fa2279 (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\WebAssembly\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,
    ) {
    }
}