From 26f49b7e27076e689541b9e13a1b54f60a4ee5c2 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Thu, 11 Jul 2024 02:57:23 +0900 Subject: feat: organize namespaces --- .../Instructions/Instrs/Control/BrTable.php | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 src/WebAssembly/Structure/Instructions/Instrs/Control/BrTable.php (limited to 'src/WebAssembly/Structure/Instructions/Instrs/Control/BrTable.php') diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Control/BrTable.php b/src/WebAssembly/Structure/Instructions/Instrs/Control/BrTable.php new file mode 100644 index 0000000..2841814 --- /dev/null +++ b/src/WebAssembly/Structure/Instructions/Instrs/Control/BrTable.php @@ -0,0 +1,24 @@ + $labelTable + */ + protected function __construct( + public array $labelTable, + public int $defaultLabel, + ) { + } + + public static function opName(): string + { + return "br_table"; + } +} -- cgit v1.2.3-70-g09d2