aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Structure/Instructions/Instrs/Variable/LocalGet.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/Structure/Instructions/Instrs/Variable/LocalGet.php')
-rw-r--r--src/Structure/Instructions/Instrs/Variable/LocalGet.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Structure/Instructions/Instrs/Variable/LocalGet.php b/src/Structure/Instructions/Instrs/Variable/LocalGet.php
index bc764c2..4fc0ced 100644
--- a/src/Structure/Instructions/Instrs/Variable/LocalGet.php
+++ b/src/Structure/Instructions/Instrs/Variable/LocalGet.php
@@ -13,4 +13,9 @@ final readonly class LocalGet extends Instr
public LocalIdx $var,
) {
}
+
+ public static function opName(): string
+ {
+ return "local.get";
+ }
}