blob: 7ebc418771a0ecb8d79d38af1dc5902a2de823be (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
<?php
declare(strict_types=1);
namespace Nsfisis\Waddiwasi\Structure\Instructions\Instrs\Numeric;
use Nsfisis\Waddiwasi\Structure\Instructions\Instr;
final readonly class I32Const extends Instr
{
/**
* @param U32 $value
*/
protected function __construct(
public int $value,
) {
}
public static function opName(): string
{
return "i32.const";
}
}
|