aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Structure/Instructions/Instrs/Table/TableInit.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/Structure/Instructions/Instrs/Table/TableInit.php')
-rw-r--r--src/Structure/Instructions/Instrs/Table/TableInit.php18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/Structure/Instructions/Instrs/Table/TableInit.php b/src/Structure/Instructions/Instrs/Table/TableInit.php
new file mode 100644
index 0000000..d4666ae
--- /dev/null
+++ b/src/Structure/Instructions/Instrs/Table/TableInit.php
@@ -0,0 +1,18 @@
+<?php
+
+declare(strict_types=1);
+
+namespace Nsfisis\Waddiwasi\Structure\Instructions\Instrs\Table;
+
+use Nsfisis\Waddiwasi\Structure\Instructions\Instr;
+use Nsfisis\Waddiwasi\Structure\Types\ElemIdx;
+use Nsfisis\Waddiwasi\Structure\Types\TableIdx;
+
+final readonly class TableInit extends Instr
+{
+ public function __construct(
+ public TableIdx $to,
+ public ElemIdx $from,
+ ) {
+ }
+}