aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Structure/Instructions/Instrs/Control/Loop.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/Structure/Instructions/Instrs/Control/Loop.php')
-rw-r--r--src/Structure/Instructions/Instrs/Control/Loop.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Structure/Instructions/Instrs/Control/Loop.php b/src/Structure/Instructions/Instrs/Control/Loop.php
index 839f75d..1572e4b 100644
--- a/src/Structure/Instructions/Instrs/Control/Loop.php
+++ b/src/Structure/Instructions/Instrs/Control/Loop.php
@@ -16,4 +16,9 @@ final readonly class Loop extends Instr
public array $body,
) {
}
+
+ public static function opName(): string
+ {
+ return "loop";
+ }
}