aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/WebAssembly/Execution/GlobalInst.php
blob: 75f764fc7449eb4695aed33e7e7a99ef474fe190 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?php

declare(strict_types=1);

namespace Nsfisis\Waddiwasi\WebAssembly\Execution;

use Nsfisis\Waddiwasi\WebAssembly\Structure\Types\GlobalType;

final class GlobalInst
{
    public function __construct(
        public readonly GlobalType $type,
        public int|float|Ref $value,
    ) {
    }
}