diff options
Diffstat (limited to 'src/WebAssembly/Structure/Instructions/Instrs/Control/Call.php')
| -rw-r--r-- | src/WebAssembly/Structure/Instructions/Instrs/Control/Call.php | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Control/Call.php b/src/WebAssembly/Structure/Instructions/Instrs/Control/Call.php new file mode 100644 index 0000000..461f561 --- /dev/null +++ b/src/WebAssembly/Structure/Instructions/Instrs/Control/Call.php @@ -0,0 +1,20 @@ +<?php + +declare(strict_types=1); + +namespace Nsfisis\Waddiwasi\WebAssembly\Structure\Instructions\Instrs\Control; + +use Nsfisis\Waddiwasi\WebAssembly\Structure\Instructions\Instr; + +final readonly class Call extends Instr +{ + protected function __construct( + public int $func, + ) { + } + + public static function opName(): string + { + return "call"; + } +} |
