aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/WebAssembly/Structure/Instructions/Instrs/Control
diff options
context:
space:
mode:
Diffstat (limited to 'src/WebAssembly/Structure/Instructions/Instrs/Control')
-rw-r--r--src/WebAssembly/Structure/Instructions/Instrs/Control/Block.php2
-rw-r--r--src/WebAssembly/Structure/Instructions/Instrs/Control/BlockType.php2
-rw-r--r--src/WebAssembly/Structure/Instructions/Instrs/Control/BlockTypes/TypeIdx.php5
-rw-r--r--src/WebAssembly/Structure/Instructions/Instrs/Control/BlockTypes/ValType.php7
-rw-r--r--src/WebAssembly/Structure/Instructions/Instrs/Control/Br.php2
-rw-r--r--src/WebAssembly/Structure/Instructions/Instrs/Control/BrIf.php2
-rw-r--r--src/WebAssembly/Structure/Instructions/Instrs/Control/BrTable.php2
-rw-r--r--src/WebAssembly/Structure/Instructions/Instrs/Control/Call.php2
-rw-r--r--src/WebAssembly/Structure/Instructions/Instrs/Control/CallIndirect.php2
-rw-r--r--src/WebAssembly/Structure/Instructions/Instrs/Control/Else_.php2
-rw-r--r--src/WebAssembly/Structure/Instructions/Instrs/Control/End.php2
-rw-r--r--src/WebAssembly/Structure/Instructions/Instrs/Control/If_.php2
-rw-r--r--src/WebAssembly/Structure/Instructions/Instrs/Control/Loop.php2
-rw-r--r--src/WebAssembly/Structure/Instructions/Instrs/Control/Nop.php2
-rw-r--r--src/WebAssembly/Structure/Instructions/Instrs/Control/Return_.php2
-rw-r--r--src/WebAssembly/Structure/Instructions/Instrs/Control/Unreachable.php2
16 files changed, 21 insertions, 19 deletions
diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Control/Block.php b/src/WebAssembly/Structure/Instructions/Instrs/Control/Block.php
index af2c97f..dad17d1 100644
--- a/src/WebAssembly/Structure/Instructions/Instrs/Control/Block.php
+++ b/src/WebAssembly/Structure/Instructions/Instrs/Control/Block.php
@@ -19,6 +19,6 @@ final readonly class Block extends Instr
public static function opName(): string
{
- return "block";
+ return 'block';
}
}
diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Control/BlockType.php b/src/WebAssembly/Structure/Instructions/Instrs/Control/BlockType.php
index 1188625..d52a74d 100644
--- a/src/WebAssembly/Structure/Instructions/Instrs/Control/BlockType.php
+++ b/src/WebAssembly/Structure/Instructions/Instrs/Control/BlockType.php
@@ -20,6 +20,6 @@ abstract readonly class BlockType
public static function opName(): string
{
- return "hoge";
+ return 'hoge';
}
}
diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Control/BlockTypes/TypeIdx.php b/src/WebAssembly/Structure/Instructions/Instrs/Control/BlockTypes/TypeIdx.php
index 2ed694b..4ce2781 100644
--- a/src/WebAssembly/Structure/Instructions/Instrs/Control/BlockTypes/TypeIdx.php
+++ b/src/WebAssembly/Structure/Instructions/Instrs/Control/BlockTypes/TypeIdx.php
@@ -8,7 +8,8 @@ use Nsfisis\Waddiwasi\WebAssembly\Structure\Instructions\Instrs\Control\BlockTyp
final readonly class TypeIdx extends BlockType
{
- protected function __construct(public int $inner)
- {
+ protected function __construct(
+ public int $inner
+ ) {
}
}
diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Control/BlockTypes/ValType.php b/src/WebAssembly/Structure/Instructions/Instrs/Control/BlockTypes/ValType.php
index e7caa3f..2142ca3 100644
--- a/src/WebAssembly/Structure/Instructions/Instrs/Control/BlockTypes/ValType.php
+++ b/src/WebAssembly/Structure/Instructions/Instrs/Control/BlockTypes/ValType.php
@@ -9,12 +9,13 @@ use Nsfisis\Waddiwasi\WebAssembly\Structure\Types\ValType as OrigValType;
final readonly class ValType extends BlockType
{
- protected function __construct(public ?OrigValType $inner)
- {
+ protected function __construct(
+ public ?OrigValType $inner
+ ) {
}
public static function opName(): string
{
- return "hoge";
+ return 'hoge';
}
}
diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Control/Br.php b/src/WebAssembly/Structure/Instructions/Instrs/Control/Br.php
index 6235a36..e0a34ca 100644
--- a/src/WebAssembly/Structure/Instructions/Instrs/Control/Br.php
+++ b/src/WebAssembly/Structure/Instructions/Instrs/Control/Br.php
@@ -15,6 +15,6 @@ final readonly class Br extends Instr
public static function opName(): string
{
- return "br";
+ return 'br';
}
}
diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Control/BrIf.php b/src/WebAssembly/Structure/Instructions/Instrs/Control/BrIf.php
index 7c8a896..2078f60 100644
--- a/src/WebAssembly/Structure/Instructions/Instrs/Control/BrIf.php
+++ b/src/WebAssembly/Structure/Instructions/Instrs/Control/BrIf.php
@@ -15,6 +15,6 @@ final readonly class BrIf extends Instr
public static function opName(): string
{
- return "br_if";
+ return 'br_if';
}
}
diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Control/BrTable.php b/src/WebAssembly/Structure/Instructions/Instrs/Control/BrTable.php
index 2841814..d4c6ab5 100644
--- a/src/WebAssembly/Structure/Instructions/Instrs/Control/BrTable.php
+++ b/src/WebAssembly/Structure/Instructions/Instrs/Control/BrTable.php
@@ -19,6 +19,6 @@ final readonly class BrTable extends Instr
public static function opName(): string
{
- return "br_table";
+ return 'br_table';
}
}
diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Control/Call.php b/src/WebAssembly/Structure/Instructions/Instrs/Control/Call.php
index 461f561..1cbfa11 100644
--- a/src/WebAssembly/Structure/Instructions/Instrs/Control/Call.php
+++ b/src/WebAssembly/Structure/Instructions/Instrs/Control/Call.php
@@ -15,6 +15,6 @@ final readonly class Call extends Instr
public static function opName(): string
{
- return "call";
+ return 'call';
}
}
diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Control/CallIndirect.php b/src/WebAssembly/Structure/Instructions/Instrs/Control/CallIndirect.php
index 7017723..c187e9c 100644
--- a/src/WebAssembly/Structure/Instructions/Instrs/Control/CallIndirect.php
+++ b/src/WebAssembly/Structure/Instructions/Instrs/Control/CallIndirect.php
@@ -16,6 +16,6 @@ final readonly class CallIndirect extends Instr
public static function opName(): string
{
- return "call_indirect";
+ return 'call_indirect';
}
}
diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Control/Else_.php b/src/WebAssembly/Structure/Instructions/Instrs/Control/Else_.php
index 1407543..eeded56 100644
--- a/src/WebAssembly/Structure/Instructions/Instrs/Control/Else_.php
+++ b/src/WebAssembly/Structure/Instructions/Instrs/Control/Else_.php
@@ -10,6 +10,6 @@ final readonly class Else_ extends Instr
{
public static function opName(): string
{
- return "else";
+ return 'else';
}
}
diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Control/End.php b/src/WebAssembly/Structure/Instructions/Instrs/Control/End.php
index 5bdb8b9..f474677 100644
--- a/src/WebAssembly/Structure/Instructions/Instrs/Control/End.php
+++ b/src/WebAssembly/Structure/Instructions/Instrs/Control/End.php
@@ -10,6 +10,6 @@ final readonly class End extends Instr
{
public static function opName(): string
{
- return "end";
+ return 'end';
}
}
diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Control/If_.php b/src/WebAssembly/Structure/Instructions/Instrs/Control/If_.php
index 8afdc8b..0cfb4aa 100644
--- a/src/WebAssembly/Structure/Instructions/Instrs/Control/If_.php
+++ b/src/WebAssembly/Structure/Instructions/Instrs/Control/If_.php
@@ -21,6 +21,6 @@ final readonly class If_ extends Instr
public static function opName(): string
{
- return "if";
+ return 'if';
}
}
diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Control/Loop.php b/src/WebAssembly/Structure/Instructions/Instrs/Control/Loop.php
index ca48ca1..43b8f3a 100644
--- a/src/WebAssembly/Structure/Instructions/Instrs/Control/Loop.php
+++ b/src/WebAssembly/Structure/Instructions/Instrs/Control/Loop.php
@@ -19,6 +19,6 @@ final readonly class Loop extends Instr
public static function opName(): string
{
- return "loop";
+ return 'loop';
}
}
diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Control/Nop.php b/src/WebAssembly/Structure/Instructions/Instrs/Control/Nop.php
index 50a3773..f3668f9 100644
--- a/src/WebAssembly/Structure/Instructions/Instrs/Control/Nop.php
+++ b/src/WebAssembly/Structure/Instructions/Instrs/Control/Nop.php
@@ -10,6 +10,6 @@ final readonly class Nop extends Instr
{
public static function opName(): string
{
- return "nop";
+ return 'nop';
}
}
diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Control/Return_.php b/src/WebAssembly/Structure/Instructions/Instrs/Control/Return_.php
index b80fdfe..ef16421 100644
--- a/src/WebAssembly/Structure/Instructions/Instrs/Control/Return_.php
+++ b/src/WebAssembly/Structure/Instructions/Instrs/Control/Return_.php
@@ -10,6 +10,6 @@ final readonly class Return_ extends Instr
{
public static function opName(): string
{
- return "return";
+ return 'return';
}
}
diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Control/Unreachable.php b/src/WebAssembly/Structure/Instructions/Instrs/Control/Unreachable.php
index e43ade8..cf3e31b 100644
--- a/src/WebAssembly/Structure/Instructions/Instrs/Control/Unreachable.php
+++ b/src/WebAssembly/Structure/Instructions/Instrs/Control/Unreachable.php
@@ -10,6 +10,6 @@ final readonly class Unreachable extends Instr
{
public static function opName(): string
{
- return "unreachable";
+ return 'unreachable';
}
}