aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/BinaryFormat/Internal/Code.php
blob: bc30c927bb8f8bcd7a33e4e497da71cd0b1f012d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php

declare(strict_types=1);

namespace Nsfisis\Waddiwasi\BinaryFormat\Internal;

use Nsfisis\Waddiwasi\Structure\Instructions\Instr;

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