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

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

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