diff options
| author | nsfisis <nsfisis@gmail.com> | 2024-01-27 13:22:56 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2024-02-26 11:07:06 +0900 |
| commit | 900377463a8264871ee42e488112b076b7973b6a (patch) | |
| tree | bf727d3484ca7c8d35f18ef29ea8d9305d4b57da /src/Structure/Instructions/Instrs/Table | |
| parent | e2495878b872b341e6e04eed31dd255b1a6e256f (diff) | |
| download | php-waddiwasi-900377463a8264871ee42e488112b076b7973b6a.tar.gz php-waddiwasi-900377463a8264871ee42e488112b076b7973b6a.tar.zst php-waddiwasi-900377463a8264871ee42e488112b076b7973b6a.zip | |
feat: partially implement execution
Diffstat (limited to 'src/Structure/Instructions/Instrs/Table')
8 files changed, 8 insertions, 8 deletions
diff --git a/src/Structure/Instructions/Instrs/Table/ElemDrop.php b/src/Structure/Instructions/Instrs/Table/ElemDrop.php index fcaf9ea..5b96fcd 100644 --- a/src/Structure/Instructions/Instrs/Table/ElemDrop.php +++ b/src/Structure/Instructions/Instrs/Table/ElemDrop.php @@ -9,7 +9,7 @@ use Nsfisis\Waddiwasi\Structure\Types\ElemIdx; final readonly class ElemDrop extends Instr { - public function __construct( + protected function __construct( public ElemIdx $elem, ) { } diff --git a/src/Structure/Instructions/Instrs/Table/TableCopy.php b/src/Structure/Instructions/Instrs/Table/TableCopy.php index 04a50c8..4c5d008 100644 --- a/src/Structure/Instructions/Instrs/Table/TableCopy.php +++ b/src/Structure/Instructions/Instrs/Table/TableCopy.php @@ -9,7 +9,7 @@ use Nsfisis\Waddiwasi\Structure\Types\TableIdx; final readonly class TableCopy extends Instr { - public function __construct( + protected function __construct( public TableIdx $to, public TableIdx $from, ) { diff --git a/src/Structure/Instructions/Instrs/Table/TableFill.php b/src/Structure/Instructions/Instrs/Table/TableFill.php index 4128657..43d1f57 100644 --- a/src/Structure/Instructions/Instrs/Table/TableFill.php +++ b/src/Structure/Instructions/Instrs/Table/TableFill.php @@ -9,7 +9,7 @@ use Nsfisis\Waddiwasi\Structure\Types\TableIdx; final readonly class TableFill extends Instr { - public function __construct( + protected function __construct( public TableIdx $table, ) { } diff --git a/src/Structure/Instructions/Instrs/Table/TableGet.php b/src/Structure/Instructions/Instrs/Table/TableGet.php index bc1b35f..77ebf4a 100644 --- a/src/Structure/Instructions/Instrs/Table/TableGet.php +++ b/src/Structure/Instructions/Instrs/Table/TableGet.php @@ -9,7 +9,7 @@ use Nsfisis\Waddiwasi\Structure\Types\TableIdx; final readonly class TableGet extends Instr { - public function __construct( + protected function __construct( public TableIdx $table, ) { } diff --git a/src/Structure/Instructions/Instrs/Table/TableGrow.php b/src/Structure/Instructions/Instrs/Table/TableGrow.php index ddd9b2a..2ac222d 100644 --- a/src/Structure/Instructions/Instrs/Table/TableGrow.php +++ b/src/Structure/Instructions/Instrs/Table/TableGrow.php @@ -9,7 +9,7 @@ use Nsfisis\Waddiwasi\Structure\Types\TableIdx; final readonly class TableGrow extends Instr { - public function __construct( + protected function __construct( public TableIdx $table, ) { } diff --git a/src/Structure/Instructions/Instrs/Table/TableInit.php b/src/Structure/Instructions/Instrs/Table/TableInit.php index d4666ae..7617809 100644 --- a/src/Structure/Instructions/Instrs/Table/TableInit.php +++ b/src/Structure/Instructions/Instrs/Table/TableInit.php @@ -10,7 +10,7 @@ use Nsfisis\Waddiwasi\Structure\Types\TableIdx; final readonly class TableInit extends Instr { - public function __construct( + protected function __construct( public TableIdx $to, public ElemIdx $from, ) { diff --git a/src/Structure/Instructions/Instrs/Table/TableSet.php b/src/Structure/Instructions/Instrs/Table/TableSet.php index 8aaf11e..7ac7c8e 100644 --- a/src/Structure/Instructions/Instrs/Table/TableSet.php +++ b/src/Structure/Instructions/Instrs/Table/TableSet.php @@ -9,7 +9,7 @@ use Nsfisis\Waddiwasi\Structure\Types\TableIdx; final readonly class TableSet extends Instr { - public function __construct( + protected function __construct( public TableIdx $table, ) { } diff --git a/src/Structure/Instructions/Instrs/Table/TableSize.php b/src/Structure/Instructions/Instrs/Table/TableSize.php index 00200a6..1c63e34 100644 --- a/src/Structure/Instructions/Instrs/Table/TableSize.php +++ b/src/Structure/Instructions/Instrs/Table/TableSize.php @@ -9,7 +9,7 @@ use Nsfisis\Waddiwasi\Structure\Types\TableIdx; final readonly class TableSize extends Instr { - public function __construct( + protected function __construct( public TableIdx $table, ) { } |
