diff options
Diffstat (limited to 'src/WebAssembly/Structure/Instructions/Instrs/Parametric/Select.php')
| -rw-r--r-- | src/WebAssembly/Structure/Instructions/Instrs/Parametric/Select.php | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Parametric/Select.php b/src/WebAssembly/Structure/Instructions/Instrs/Parametric/Select.php new file mode 100644 index 0000000..2562764 --- /dev/null +++ b/src/WebAssembly/Structure/Instructions/Instrs/Parametric/Select.php @@ -0,0 +1,24 @@ +<?php + +declare(strict_types=1); + +namespace Nsfisis\Waddiwasi\WebAssembly\Structure\Instructions\Instrs\Parametric; + +use Nsfisis\Waddiwasi\WebAssembly\Structure\Instructions\Instr; +use Nsfisis\Waddiwasi\WebAssembly\Structure\Types\ValType; + +final readonly class Select extends Instr +{ + /** + * @param list<ValType> $types + */ + protected function __construct( + public array $types, + ) { + } + + public static function opName(): string + { + return "select"; + } +} |
