aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/WebAssembly/Execution/FuncInsts/Wasm.php
blob: d0780ab40300b6c111705ffa841c2b73816da7e3 (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\FuncInsts;

use Nsfisis\Waddiwasi\WebAssembly\Execution\FuncInst;
use Nsfisis\Waddiwasi\WebAssembly\Execution\ModuleInst;
use Nsfisis\Waddiwasi\WebAssembly\Structure\Modules\Func;
use Nsfisis\Waddiwasi\WebAssembly\Structure\Types\FuncType;

final readonly class Wasm extends FuncInst
{
    public function __construct(
        public FuncType $type,
        public ModuleInst $module,
        public Func $code,
    ) {
    }
}