From 900377463a8264871ee42e488112b076b7973b6a Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sat, 27 Jan 2024 13:22:56 +0900 Subject: feat: partially implement execution --- src/Structure/Instructions/Instrs/Numeric/F32Const.php | 2 +- src/Structure/Instructions/Instrs/Numeric/F64Const.php | 2 +- src/Structure/Instructions/Instrs/Numeric/I32Const.php | 2 +- src/Structure/Instructions/Instrs/Numeric/I64Const.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/Structure/Instructions/Instrs/Numeric') 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, ) { } -- cgit v1.3-1-g0d28