aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Structure/Instructions/Instrs/Variable
diff options
context:
space:
mode:
Diffstat (limited to 'src/Structure/Instructions/Instrs/Variable')
-rw-r--r--src/Structure/Instructions/Instrs/Variable/GlobalGet.php2
-rw-r--r--src/Structure/Instructions/Instrs/Variable/GlobalSet.php2
-rw-r--r--src/Structure/Instructions/Instrs/Variable/LocalGet.php2
-rw-r--r--src/Structure/Instructions/Instrs/Variable/LocalSet.php2
-rw-r--r--src/Structure/Instructions/Instrs/Variable/LocalTee.php2
5 files changed, 5 insertions, 5 deletions
diff --git a/src/Structure/Instructions/Instrs/Variable/GlobalGet.php b/src/Structure/Instructions/Instrs/Variable/GlobalGet.php
index 7d25650..a3bd2c6 100644
--- a/src/Structure/Instructions/Instrs/Variable/GlobalGet.php
+++ b/src/Structure/Instructions/Instrs/Variable/GlobalGet.php
@@ -9,7 +9,7 @@ use Nsfisis\Waddiwasi\Structure\Types\GlobalIdx;
final readonly class GlobalGet extends Instr
{
- public function __construct(
+ protected function __construct(
public GlobalIdx $var,
) {
}
diff --git a/src/Structure/Instructions/Instrs/Variable/GlobalSet.php b/src/Structure/Instructions/Instrs/Variable/GlobalSet.php
index 2f32855..080e15a 100644
--- a/src/Structure/Instructions/Instrs/Variable/GlobalSet.php
+++ b/src/Structure/Instructions/Instrs/Variable/GlobalSet.php
@@ -9,7 +9,7 @@ use Nsfisis\Waddiwasi\Structure\Types\GlobalIdx;
final readonly class GlobalSet extends Instr
{
- public function __construct(
+ protected function __construct(
public GlobalIdx $var,
) {
}
diff --git a/src/Structure/Instructions/Instrs/Variable/LocalGet.php b/src/Structure/Instructions/Instrs/Variable/LocalGet.php
index 4c4f794..bc764c2 100644
--- a/src/Structure/Instructions/Instrs/Variable/LocalGet.php
+++ b/src/Structure/Instructions/Instrs/Variable/LocalGet.php
@@ -9,7 +9,7 @@ use Nsfisis\Waddiwasi\Structure\Types\LocalIdx;
final readonly class LocalGet extends Instr
{
- public function __construct(
+ protected function __construct(
public LocalIdx $var,
) {
}
diff --git a/src/Structure/Instructions/Instrs/Variable/LocalSet.php b/src/Structure/Instructions/Instrs/Variable/LocalSet.php
index d103c22..9b107e8 100644
--- a/src/Structure/Instructions/Instrs/Variable/LocalSet.php
+++ b/src/Structure/Instructions/Instrs/Variable/LocalSet.php
@@ -9,7 +9,7 @@ use Nsfisis\Waddiwasi\Structure\Types\LocalIdx;
final readonly class LocalSet extends Instr
{
- public function __construct(
+ protected function __construct(
public LocalIdx $var,
) {
}
diff --git a/src/Structure/Instructions/Instrs/Variable/LocalTee.php b/src/Structure/Instructions/Instrs/Variable/LocalTee.php
index 89e253b..3e48e8e 100644
--- a/src/Structure/Instructions/Instrs/Variable/LocalTee.php
+++ b/src/Structure/Instructions/Instrs/Variable/LocalTee.php
@@ -9,7 +9,7 @@ use Nsfisis\Waddiwasi\Structure\Types\LocalIdx;
final readonly class LocalTee extends Instr
{
- public function __construct(
+ protected function __construct(
public LocalIdx $var,
) {
}