aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/BinaryFormat/Code.php
blob: 6acf1e7a42de53aa57feab3ec8794d777738313c (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\BinaryFormat;

use Nsfisis\Waddiwasi\Structure\Instructions\Instr;

final readonly class Code
{
    /**
     * @param list<Locals> $compressedLocals
     * @param list<Instr> $body
     */
    public function __construct(
        public array $compressedLocals,
        public array $body,
    ) {
    }
}