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