aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Structure/Instructions/Instrs/Reference/RefNull.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/Structure/Instructions/Instrs/Reference/RefNull.php')
-rw-r--r--src/Structure/Instructions/Instrs/Reference/RefNull.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Structure/Instructions/Instrs/Reference/RefNull.php b/src/Structure/Instructions/Instrs/Reference/RefNull.php
index 06e339c..11c603c 100644
--- a/src/Structure/Instructions/Instrs/Reference/RefNull.php
+++ b/src/Structure/Instructions/Instrs/Reference/RefNull.php
@@ -13,4 +13,9 @@ final readonly class RefNull extends Instr
public RefType $type,
) {
}
+
+ public static function opName(): string
+ {
+ return "ref.null";
+ }
}