aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Structure/Instructions/Instrs/Table
diff options
context:
space:
mode:
Diffstat (limited to 'src/Structure/Instructions/Instrs/Table')
-rw-r--r--src/Structure/Instructions/Instrs/Table/ElemDrop.php5
-rw-r--r--src/Structure/Instructions/Instrs/Table/TableCopy.php5
-rw-r--r--src/Structure/Instructions/Instrs/Table/TableFill.php5
-rw-r--r--src/Structure/Instructions/Instrs/Table/TableGet.php5
-rw-r--r--src/Structure/Instructions/Instrs/Table/TableGrow.php5
-rw-r--r--src/Structure/Instructions/Instrs/Table/TableInit.php5
-rw-r--r--src/Structure/Instructions/Instrs/Table/TableSet.php5
-rw-r--r--src/Structure/Instructions/Instrs/Table/TableSize.php5
8 files changed, 40 insertions, 0 deletions
diff --git a/src/Structure/Instructions/Instrs/Table/ElemDrop.php b/src/Structure/Instructions/Instrs/Table/ElemDrop.php
index 5b96fcd..bbf4586 100644
--- a/src/Structure/Instructions/Instrs/Table/ElemDrop.php
+++ b/src/Structure/Instructions/Instrs/Table/ElemDrop.php
@@ -13,4 +13,9 @@ final readonly class ElemDrop extends Instr
public ElemIdx $elem,
) {
}
+
+ public static function opName(): string
+ {
+ return "elem.drop";
+ }
}
diff --git a/src/Structure/Instructions/Instrs/Table/TableCopy.php b/src/Structure/Instructions/Instrs/Table/TableCopy.php
index 4c5d008..85aa9fc 100644
--- a/src/Structure/Instructions/Instrs/Table/TableCopy.php
+++ b/src/Structure/Instructions/Instrs/Table/TableCopy.php
@@ -14,4 +14,9 @@ final readonly class TableCopy extends Instr
public TableIdx $from,
) {
}
+
+ public static function opName(): string
+ {
+ return "table.copy";
+ }
}
diff --git a/src/Structure/Instructions/Instrs/Table/TableFill.php b/src/Structure/Instructions/Instrs/Table/TableFill.php
index 43d1f57..84c6e13 100644
--- a/src/Structure/Instructions/Instrs/Table/TableFill.php
+++ b/src/Structure/Instructions/Instrs/Table/TableFill.php
@@ -13,4 +13,9 @@ final readonly class TableFill extends Instr
public TableIdx $table,
) {
}
+
+ public static function opName(): string
+ {
+ return "table.fill";
+ }
}
diff --git a/src/Structure/Instructions/Instrs/Table/TableGet.php b/src/Structure/Instructions/Instrs/Table/TableGet.php
index 77ebf4a..e10dd5a 100644
--- a/src/Structure/Instructions/Instrs/Table/TableGet.php
+++ b/src/Structure/Instructions/Instrs/Table/TableGet.php
@@ -13,4 +13,9 @@ final readonly class TableGet extends Instr
public TableIdx $table,
) {
}
+
+ public static function opName(): string
+ {
+ return "table.get";
+ }
}
diff --git a/src/Structure/Instructions/Instrs/Table/TableGrow.php b/src/Structure/Instructions/Instrs/Table/TableGrow.php
index 2ac222d..4f224fc 100644
--- a/src/Structure/Instructions/Instrs/Table/TableGrow.php
+++ b/src/Structure/Instructions/Instrs/Table/TableGrow.php
@@ -13,4 +13,9 @@ final readonly class TableGrow extends Instr
public TableIdx $table,
) {
}
+
+ public static function opName(): string
+ {
+ return "table.grow";
+ }
}
diff --git a/src/Structure/Instructions/Instrs/Table/TableInit.php b/src/Structure/Instructions/Instrs/Table/TableInit.php
index 7617809..2c834c0 100644
--- a/src/Structure/Instructions/Instrs/Table/TableInit.php
+++ b/src/Structure/Instructions/Instrs/Table/TableInit.php
@@ -15,4 +15,9 @@ final readonly class TableInit extends Instr
public ElemIdx $from,
) {
}
+
+ public static function opName(): string
+ {
+ return "table.init";
+ }
}
diff --git a/src/Structure/Instructions/Instrs/Table/TableSet.php b/src/Structure/Instructions/Instrs/Table/TableSet.php
index 7ac7c8e..f02c375 100644
--- a/src/Structure/Instructions/Instrs/Table/TableSet.php
+++ b/src/Structure/Instructions/Instrs/Table/TableSet.php
@@ -13,4 +13,9 @@ final readonly class TableSet extends Instr
public TableIdx $table,
) {
}
+
+ public static function opName(): string
+ {
+ return "table.set";
+ }
}
diff --git a/src/Structure/Instructions/Instrs/Table/TableSize.php b/src/Structure/Instructions/Instrs/Table/TableSize.php
index 1c63e34..321c8f7 100644
--- a/src/Structure/Instructions/Instrs/Table/TableSize.php
+++ b/src/Structure/Instructions/Instrs/Table/TableSize.php
@@ -13,4 +13,9 @@ final readonly class TableSize extends Instr
public TableIdx $table,
) {
}
+
+ public static function opName(): string
+ {
+ return "table.size";
+ }
}