aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/WebAssembly/Execution/TableInst.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/WebAssembly/Execution/TableInst.php')
-rw-r--r--src/WebAssembly/Execution/TableInst.php19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/WebAssembly/Execution/TableInst.php b/src/WebAssembly/Execution/TableInst.php
new file mode 100644
index 0000000..9f4cbe7
--- /dev/null
+++ b/src/WebAssembly/Execution/TableInst.php
@@ -0,0 +1,19 @@
+<?php
+
+declare(strict_types=1);
+
+namespace Nsfisis\Waddiwasi\WebAssembly\Execution;
+
+use Nsfisis\Waddiwasi\WebAssembly\Structure\Types\TableType;
+
+final class TableInst
+{
+ /**
+ * @param list<Ref> $elem
+ */
+ public function __construct(
+ public TableType $type,
+ public array $elem,
+ ) {
+ }
+}