diff options
Diffstat (limited to 'src/WebAssembly/Execution/GlobalInst.php')
| -rw-r--r-- | src/WebAssembly/Execution/GlobalInst.php | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/WebAssembly/Execution/GlobalInst.php b/src/WebAssembly/Execution/GlobalInst.php new file mode 100644 index 0000000..75f764f --- /dev/null +++ b/src/WebAssembly/Execution/GlobalInst.php @@ -0,0 +1,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, + ) { + } +} |
