aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Structure/Types
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-03-13 22:42:58 +0900
committernsfisis <nsfisis@gmail.com>2024-03-13 22:42:58 +0900
commit814e5197439fbf2b404e8e66f3c6dd6e5ed39776 (patch)
tree72901a7e2f1641366d2cfd57b883929989c68328 /src/Structure/Types
parent7348999caf3ce1e0be64697319581d52f1d7f8ea (diff)
downloadphp-waddiwasi-814e5197439fbf2b404e8e66f3c6dd6e5ed39776.tar.gz
php-waddiwasi-814e5197439fbf2b404e8e66f3c6dd6e5ed39776.tar.zst
php-waddiwasi-814e5197439fbf2b404e8e66f3c6dd6e5ed39776.zip
perf: make *Addr/*Idx to primitive int
Diffstat (limited to 'src/Structure/Types')
-rw-r--r--src/Structure/Types/DataIdx.php16
-rw-r--r--src/Structure/Types/ElemIdx.php16
-rw-r--r--src/Structure/Types/FuncIdx.php16
-rw-r--r--src/Structure/Types/GlobalIdx.php16
-rw-r--r--src/Structure/Types/LabelIdx.php16
-rw-r--r--src/Structure/Types/LocalIdx.php16
-rw-r--r--src/Structure/Types/MemIdx.php16
-rw-r--r--src/Structure/Types/TableIdx.php16
-rw-r--r--src/Structure/Types/TypeIdx.php16
9 files changed, 0 insertions, 144 deletions
diff --git a/src/Structure/Types/DataIdx.php b/src/Structure/Types/DataIdx.php
deleted file mode 100644
index 5390ad4..0000000
--- a/src/Structure/Types/DataIdx.php
+++ /dev/null
@@ -1,16 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace Nsfisis\Waddiwasi\Structure\Types;
-
-final readonly class DataIdx
-{
- /**
- * @param U32 $value
- */
- public function __construct(
- public int $value,
- ) {
- }
-}
diff --git a/src/Structure/Types/ElemIdx.php b/src/Structure/Types/ElemIdx.php
deleted file mode 100644
index 989ef94..0000000
--- a/src/Structure/Types/ElemIdx.php
+++ /dev/null
@@ -1,16 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace Nsfisis\Waddiwasi\Structure\Types;
-
-final readonly class ElemIdx
-{
- /**
- * @param U32 $value
- */
- public function __construct(
- public int $value,
- ) {
- }
-}
diff --git a/src/Structure/Types/FuncIdx.php b/src/Structure/Types/FuncIdx.php
deleted file mode 100644
index 9e2d9f7..0000000
--- a/src/Structure/Types/FuncIdx.php
+++ /dev/null
@@ -1,16 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace Nsfisis\Waddiwasi\Structure\Types;
-
-final readonly class FuncIdx
-{
- /**
- * @param U32 $value
- */
- public function __construct(
- public int $value,
- ) {
- }
-}
diff --git a/src/Structure/Types/GlobalIdx.php b/src/Structure/Types/GlobalIdx.php
deleted file mode 100644
index c65d182..0000000
--- a/src/Structure/Types/GlobalIdx.php
+++ /dev/null
@@ -1,16 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace Nsfisis\Waddiwasi\Structure\Types;
-
-final readonly class GlobalIdx
-{
- /**
- * @param U32 $value
- */
- public function __construct(
- public int $value,
- ) {
- }
-}
diff --git a/src/Structure/Types/LabelIdx.php b/src/Structure/Types/LabelIdx.php
deleted file mode 100644
index e6941b0..0000000
--- a/src/Structure/Types/LabelIdx.php
+++ /dev/null
@@ -1,16 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace Nsfisis\Waddiwasi\Structure\Types;
-
-final readonly class LabelIdx
-{
- /**
- * @param U32 $value
- */
- public function __construct(
- public int $value,
- ) {
- }
-}
diff --git a/src/Structure/Types/LocalIdx.php b/src/Structure/Types/LocalIdx.php
deleted file mode 100644
index 6620281..0000000
--- a/src/Structure/Types/LocalIdx.php
+++ /dev/null
@@ -1,16 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace Nsfisis\Waddiwasi\Structure\Types;
-
-final readonly class LocalIdx
-{
- /**
- * @param U32 $value
- */
- public function __construct(
- public int $value,
- ) {
- }
-}
diff --git a/src/Structure/Types/MemIdx.php b/src/Structure/Types/MemIdx.php
deleted file mode 100644
index 5fb9d76..0000000
--- a/src/Structure/Types/MemIdx.php
+++ /dev/null
@@ -1,16 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace Nsfisis\Waddiwasi\Structure\Types;
-
-final readonly class MemIdx
-{
- /**
- * @param U32 $value
- */
- public function __construct(
- public int $value,
- ) {
- }
-}
diff --git a/src/Structure/Types/TableIdx.php b/src/Structure/Types/TableIdx.php
deleted file mode 100644
index af2d72b..0000000
--- a/src/Structure/Types/TableIdx.php
+++ /dev/null
@@ -1,16 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace Nsfisis\Waddiwasi\Structure\Types;
-
-final readonly class TableIdx
-{
- /**
- * @param U32 $value
- */
- public function __construct(
- public int $value,
- ) {
- }
-}
diff --git a/src/Structure/Types/TypeIdx.php b/src/Structure/Types/TypeIdx.php
deleted file mode 100644
index c0074d7..0000000
--- a/src/Structure/Types/TypeIdx.php
+++ /dev/null
@@ -1,16 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace Nsfisis\Waddiwasi\Structure\Types;
-
-final readonly class TypeIdx
-{
- /**
- * @param U32 $value
- */
- public function __construct(
- public int $value,
- ) {
- }
-}