aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/WebAssembly/Structure/Modules/DataModes/Active.php
blob: 41cc9c74a81b058f88e39517241055a4c79b06db (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\Structure\Modules\DataModes;

use Nsfisis\Waddiwasi\WebAssembly\Structure\Instructions\Instr;
use Nsfisis\Waddiwasi\WebAssembly\Structure\Modules\DataMode;

final readonly class Active extends DataMode
{
    /**
     * @param list<Instr> $offset
     */
    protected function __construct(
        public int $memory,
        public array $offset,
    ) {
    }
}