aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Structure/Instructions/Instrs/Numeric
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-01-27 13:22:56 +0900
committernsfisis <nsfisis@gmail.com>2024-02-26 11:07:06 +0900
commit900377463a8264871ee42e488112b076b7973b6a (patch)
treebf727d3484ca7c8d35f18ef29ea8d9305d4b57da /src/Structure/Instructions/Instrs/Numeric
parente2495878b872b341e6e04eed31dd255b1a6e256f (diff)
downloadphp-waddiwasi-900377463a8264871ee42e488112b076b7973b6a.tar.gz
php-waddiwasi-900377463a8264871ee42e488112b076b7973b6a.tar.zst
php-waddiwasi-900377463a8264871ee42e488112b076b7973b6a.zip
feat: partially implement execution
Diffstat (limited to 'src/Structure/Instructions/Instrs/Numeric')
-rw-r--r--src/Structure/Instructions/Instrs/Numeric/F32Const.php2
-rw-r--r--src/Structure/Instructions/Instrs/Numeric/F64Const.php2
-rw-r--r--src/Structure/Instructions/Instrs/Numeric/I32Const.php2
-rw-r--r--src/Structure/Instructions/Instrs/Numeric/I64Const.php2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/Structure/Instructions/Instrs/Numeric/F32Const.php b/src/Structure/Instructions/Instrs/Numeric/F32Const.php
index d9ce335..0b69861 100644
--- a/src/Structure/Instructions/Instrs/Numeric/F32Const.php
+++ b/src/Structure/Instructions/Instrs/Numeric/F32Const.php
@@ -11,7 +11,7 @@ final readonly class F32Const extends Instr
/**
* @param F32 $value
*/
- public function __construct(
+ protected function __construct(
public float $value,
) {
}
diff --git a/src/Structure/Instructions/Instrs/Numeric/F64Const.php b/src/Structure/Instructions/Instrs/Numeric/F64Const.php
index dcfa9e8..540e6f4 100644
--- a/src/Structure/Instructions/Instrs/Numeric/F64Const.php
+++ b/src/Structure/Instructions/Instrs/Numeric/F64Const.php
@@ -11,7 +11,7 @@ final readonly class F64Const extends Instr
/**
* @param F64 $value
*/
- public function __construct(
+ protected function __construct(
public float $value,
) {
}
diff --git a/src/Structure/Instructions/Instrs/Numeric/I32Const.php b/src/Structure/Instructions/Instrs/Numeric/I32Const.php
index 7beaae0..d9f1aea 100644
--- a/src/Structure/Instructions/Instrs/Numeric/I32Const.php
+++ b/src/Structure/Instructions/Instrs/Numeric/I32Const.php
@@ -11,7 +11,7 @@ final readonly class I32Const extends Instr
/**
* @param U32 $value
*/
- public function __construct(
+ protected function __construct(
public int $value,
) {
}
diff --git a/src/Structure/Instructions/Instrs/Numeric/I64Const.php b/src/Structure/Instructions/Instrs/Numeric/I64Const.php
index 59f34f3..59ca0f8 100644
--- a/src/Structure/Instructions/Instrs/Numeric/I64Const.php
+++ b/src/Structure/Instructions/Instrs/Numeric/I64Const.php
@@ -11,7 +11,7 @@ final readonly class I64Const extends Instr
/**
* @param U64 $value
*/
- public function __construct(
+ protected function __construct(
public int $value,
) {
}