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