aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/src/SpecTestsuites/Core/MemoryGrowTest.php
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-07-11 20:02:34 +0900
committernsfisis <nsfisis@gmail.com>2024-07-11 20:02:34 +0900
commitd1c268b76f65e69ea708096d5023c4d731cff594 (patch)
treee48836287272388df613a370fda7a46598c517f8 /tests/src/SpecTestsuites/Core/MemoryGrowTest.php
parente4324d3d1d3bf3568d4e2f3b80c9cc324d324f83 (diff)
downloadphp-waddiwasi-d1c268b76f65e69ea708096d5023c4d731cff594.tar.gz
php-waddiwasi-d1c268b76f65e69ea708096d5023c4d731cff594.tar.zst
php-waddiwasi-d1c268b76f65e69ea708096d5023c4d731cff594.zip
fix: various spectests
Diffstat (limited to 'tests/src/SpecTestsuites/Core/MemoryGrowTest.php')
-rw-r--r--tests/src/SpecTestsuites/Core/MemoryGrowTest.php84
1 files changed, 0 insertions, 84 deletions
diff --git a/tests/src/SpecTestsuites/Core/MemoryGrowTest.php b/tests/src/SpecTestsuites/Core/MemoryGrowTest.php
index e11cf58..f23b9bb 100644
--- a/tests/src/SpecTestsuites/Core/MemoryGrowTest.php
+++ b/tests/src/SpecTestsuites/Core/MemoryGrowTest.php
@@ -23,7 +23,6 @@ final class MemoryGrowTest extends SpecTestsuiteBase
public function testAssertReturn1(): void
{
$this->runAssertReturnCommand(
- module: null,
action: ['type' => 'invoke', 'field' => 'size', 'args' => []],
expected: [['type' => 'i32', 'value' => '0']],
line: 14,
@@ -34,7 +33,6 @@ final class MemoryGrowTest extends SpecTestsuiteBase
public function testAssertTrap2(): void
{
$this->runAssertTrapCommand(
- module: null,
action: ['type' => 'invoke', 'field' => 'store_at_zero', 'args' => []],
text: 'out of bounds memory access',
line: 15,
@@ -45,7 +43,6 @@ final class MemoryGrowTest extends SpecTestsuiteBase
public function testAssertTrap3(): void
{
$this->runAssertTrapCommand(
- module: null,
action: ['type' => 'invoke', 'field' => 'load_at_zero', 'args' => []],
text: 'out of bounds memory access',
line: 16,
@@ -56,7 +53,6 @@ final class MemoryGrowTest extends SpecTestsuiteBase
public function testAssertTrap4(): void
{
$this->runAssertTrapCommand(
- module: null,
action: ['type' => 'invoke', 'field' => 'store_at_page_size', 'args' => []],
text: 'out of bounds memory access',
line: 17,
@@ -67,7 +63,6 @@ final class MemoryGrowTest extends SpecTestsuiteBase
public function testAssertTrap5(): void
{
$this->runAssertTrapCommand(
- module: null,
action: ['type' => 'invoke', 'field' => 'load_at_page_size', 'args' => []],
text: 'out of bounds memory access',
line: 18,
@@ -78,7 +73,6 @@ final class MemoryGrowTest extends SpecTestsuiteBase
public function testAssertReturn6(): void
{
$this->runAssertReturnCommand(
- module: null,
action: ['type' => 'invoke', 'field' => 'grow', 'args' => [['type' => 'i32', 'value' => '1']]],
expected: [['type' => 'i32', 'value' => '0']],
line: 19,
@@ -89,7 +83,6 @@ final class MemoryGrowTest extends SpecTestsuiteBase
public function testAssertReturn7(): void
{
$this->runAssertReturnCommand(
- module: null,
action: ['type' => 'invoke', 'field' => 'size', 'args' => []],
expected: [['type' => 'i32', 'value' => '1']],
line: 20,
@@ -100,7 +93,6 @@ final class MemoryGrowTest extends SpecTestsuiteBase
public function testAssertReturn8(): void
{
$this->runAssertReturnCommand(
- module: null,
action: ['type' => 'invoke', 'field' => 'load_at_zero', 'args' => []],
expected: [['type' => 'i32', 'value' => '0']],
line: 21,
@@ -111,7 +103,6 @@ final class MemoryGrowTest extends SpecTestsuiteBase
public function testAssertReturn9(): void
{
$this->runAssertReturnCommand(
- module: null,
action: ['type' => 'invoke', 'field' => 'store_at_zero', 'args' => []],
expected: [],
line: 22,
@@ -122,7 +113,6 @@ final class MemoryGrowTest extends SpecTestsuiteBase
public function testAssertReturn10(): void
{
$this->runAssertReturnCommand(
- module: null,
action: ['type' => 'invoke', 'field' => 'load_at_zero', 'args' => []],
expected: [['type' => 'i32', 'value' => '2']],
line: 23,
@@ -133,7 +123,6 @@ final class MemoryGrowTest extends SpecTestsuiteBase
public function testAssertTrap11(): void
{
$this->runAssertTrapCommand(
- module: null,
action: ['type' => 'invoke', 'field' => 'store_at_page_size', 'args' => []],
text: 'out of bounds memory access',
line: 24,
@@ -144,7 +133,6 @@ final class MemoryGrowTest extends SpecTestsuiteBase
public function testAssertTrap12(): void
{
$this->runAssertTrapCommand(
- module: null,
action: ['type' => 'invoke', 'field' => 'load_at_page_size', 'args' => []],
text: 'out of bounds memory access',
line: 25,
@@ -155,7 +143,6 @@ final class MemoryGrowTest extends SpecTestsuiteBase
public function testAssertReturn13(): void
{
$this->runAssertReturnCommand(
- module: null,
action: ['type' => 'invoke', 'field' => 'grow', 'args' => [['type' => 'i32', 'value' => '4']]],
expected: [['type' => 'i32', 'value' => '1']],
line: 26,
@@ -166,7 +153,6 @@ final class MemoryGrowTest extends SpecTestsuiteBase
public function testAssertReturn14(): void
{
$this->runAssertReturnCommand(
- module: null,
action: ['type' => 'invoke', 'field' => 'size', 'args' => []],
expected: [['type' => 'i32', 'value' => '5']],
line: 27,
@@ -177,7 +163,6 @@ final class MemoryGrowTest extends SpecTestsuiteBase
public function testAssertReturn15(): void
{
$this->runAssertReturnCommand(
- module: null,
action: ['type' => 'invoke', 'field' => 'load_at_zero', 'args' => []],
expected: [['type' => 'i32', 'value' => '2']],
line: 28,
@@ -188,7 +173,6 @@ final class MemoryGrowTest extends SpecTestsuiteBase
public function testAssertReturn16(): void
{
$this->runAssertReturnCommand(
- module: null,
action: ['type' => 'invoke', 'field' => 'store_at_zero', 'args' => []],
expected: [],
line: 29,
@@ -199,7 +183,6 @@ final class MemoryGrowTest extends SpecTestsuiteBase
public function testAssertReturn17(): void
{
$this->runAssertReturnCommand(
- module: null,
action: ['type' => 'invoke', 'field' => 'load_at_zero', 'args' => []],
expected: [['type' => 'i32', 'value' => '2']],
line: 30,
@@ -210,7 +193,6 @@ final class MemoryGrowTest extends SpecTestsuiteBase
public function testAssertReturn18(): void
{
$this->runAssertReturnCommand(
- module: null,
action: ['type' => 'invoke', 'field' => 'load_at_page_size', 'args' => []],
expected: [['type' => 'i32', 'value' => '0']],
line: 31,
@@ -221,7 +203,6 @@ final class MemoryGrowTest extends SpecTestsuiteBase
public function testAssertReturn19(): void
{
$this->runAssertReturnCommand(
- module: null,
action: ['type' => 'invoke', 'field' => 'store_at_page_size', 'args' => []],
expected: [],
line: 32,
@@ -232,7 +213,6 @@ final class MemoryGrowTest extends SpecTestsuiteBase
public function testAssertReturn20(): void
{
$this->runAssertReturnCommand(
- module: null,
action: ['type' => 'invoke', 'field' => 'load_at_page_size', 'args' => []],
expected: [['type' => 'i32', 'value' => '3']],
line: 33,
@@ -253,7 +233,6 @@ final class MemoryGrowTest extends SpecTestsuiteBase
public function testAssertReturn22(): void
{
$this->runAssertReturnCommand(
- module: null,
action: ['type' => 'invoke', 'field' => 'grow', 'args' => [['type' => 'i32', 'value' => '0']]],
expected: [['type' => 'i32', 'value' => '0']],
line: 41,
@@ -264,7 +243,6 @@ final class MemoryGrowTest extends SpecTestsuiteBase
public function testAssertReturn23(): void
{
$this->runAssertReturnCommand(
- module: null,
action: ['type' => 'invoke', 'field' => 'grow', 'args' => [['type' => 'i32', 'value' => '1']]],
expected: [['type' => 'i32', 'value' => '0']],
line: 42,
@@ -275,7 +253,6 @@ final class MemoryGrowTest extends SpecTestsuiteBase
public function testAssertReturn24(): void
{
$this->runAssertReturnCommand(
- module: null,
action: ['type' => 'invoke', 'field' => 'grow', 'args' => [['type' => 'i32', 'value' => '0']]],
expected: [['type' => 'i32', 'value' => '1']],
line: 43,
@@ -286,7 +263,6 @@ final class MemoryGrowTest extends SpecTestsuiteBase
public function testAssertReturn25(): void
{
$this->runAssertReturnCommand(
- module: null,
action: ['type' => 'invoke', 'field' => 'grow', 'args' => [['type' => 'i32', 'value' => '2']]],
expected: [['type' => 'i32', 'value' => '1']],
line: 44,
@@ -297,7 +273,6 @@ final class MemoryGrowTest extends SpecTestsuiteBase
public function testAssertReturn26(): void
{
$this->runAssertReturnCommand(
- module: null,
action: ['type' => 'invoke', 'field' => 'grow', 'args' => [['type' => 'i32', 'value' => '800']]],
expected: [['type' => 'i32', 'value' => '3']],
line: 45,
@@ -308,7 +283,6 @@ final class MemoryGrowTest extends SpecTestsuiteBase
public function testAssertReturn27(): void
{
$this->runAssertReturnCommand(
- module: null,
action: ['type' => 'invoke', 'field' => 'grow', 'args' => [['type' => 'i32', 'value' => '65536']]],
expected: [['type' => 'i32', 'value' => '4294967295']],
line: 46,
@@ -319,7 +293,6 @@ final class MemoryGrowTest extends SpecTestsuiteBase
public function testAssertReturn28(): void
{
$this->runAssertReturnCommand(
- module: null,
action: ['type' => 'invoke', 'field' => 'grow', 'args' => [['type' => 'i32', 'value' => '64736']]],
expected: [['type' => 'i32', 'value' => '4294967295']],
line: 47,
@@ -330,7 +303,6 @@ final class MemoryGrowTest extends SpecTestsuiteBase
public function testAssertReturn29(): void
{
$this->runAssertReturnCommand(
- module: null,
action: ['type' => 'invoke', 'field' => 'grow', 'args' => [['type' => 'i32', 'value' => '1']]],
expected: [['type' => 'i32', 'value' => '803']],
line: 48,
@@ -351,7 +323,6 @@ final class MemoryGrowTest extends SpecTestsuiteBase
public function testAssertReturn31(): void
{
$this->runAssertReturnCommand(
- module: null,
action: ['type' => 'invoke', 'field' => 'grow', 'args' => [['type' => 'i32', 'value' => '0']]],
expected: [['type' => 'i32', 'value' => '0']],
line: 55,
@@ -362,7 +333,6 @@ final class MemoryGrowTest extends SpecTestsuiteBase
public function testAssertReturn32(): void
{
$this->runAssertReturnCommand(
- module: null,
action: ['type' => 'invoke', 'field' => 'grow', 'args' => [['type' => 'i32', 'value' => '1']]],
expected: [['type' => 'i32', 'value' => '0']],
line: 56,
@@ -373,7 +343,6 @@ final class MemoryGrowTest extends SpecTestsuiteBase
public function testAssertReturn33(): void
{
$this->runAssertReturnCommand(
- module: null,
action: ['type' => 'invoke', 'field' => 'grow', 'args' => [['type' => 'i32', 'value' => '1']]],
expected: [['type' => 'i32', 'value' => '1']],
line: 57,
@@ -384,7 +353,6 @@ final class MemoryGrowTest extends SpecTestsuiteBase
public function testAssertReturn34(): void
{
$this->runAssertReturnCommand(
- module: null,
action: ['type' => 'invoke', 'field' => 'grow', 'args' => [['type' => 'i32', 'value' => '2']]],
expected: [['type' => 'i32', 'value' => '2']],
line: 58,
@@ -395,7 +363,6 @@ final class MemoryGrowTest extends SpecTestsuiteBase
public function testAssertReturn35(): void
{
$this->runAssertReturnCommand(
- module: null,
action: ['type' => 'invoke', 'field' => 'grow', 'args' => [['type' => 'i32', 'value' => '6']]],
expected: [['type' => 'i32', 'value' => '4']],
line: 59,
@@ -406,7 +373,6 @@ final class MemoryGrowTest extends SpecTestsuiteBase
public function testAssertReturn36(): void
{
$this->runAssertReturnCommand(
- module: null,
action: ['type' => 'invoke', 'field' => 'grow', 'args' => [['type' => 'i32', 'value' => '0']]],
expected: [['type' => 'i32', 'value' => '10']],
line: 60,
@@ -417,7 +383,6 @@ final class MemoryGrowTest extends SpecTestsuiteBase
public function testAssertReturn37(): void
{
$this->runAssertReturnCommand(
- module: null,
action: ['type' => 'invoke', 'field' => 'grow', 'args' => [['type' => 'i32', 'value' => '1']]],
expected: [['type' => 'i32', 'value' => '4294967295']],
line: 61,
@@ -428,7 +393,6 @@ final class MemoryGrowTest extends SpecTestsuiteBase
public function testAssertReturn38(): void
{
$this->runAssertReturnCommand(
- module: null,
action: ['type' => 'invoke', 'field' => 'grow', 'args' => [['type' => 'i32', 'value' => '65536']]],
expected: [['type' => 'i32', 'value' => '4294967295']],
line: 62,
@@ -449,7 +413,6 @@ final class MemoryGrowTest extends SpecTestsuiteBase
public function testAssertReturn40(): void
{
$this->runAssertReturnCommand(
- module: null,
action: ['type' => 'invoke', 'field' => 'check-memory-zero', 'args' => [['type' => 'i32', 'value' => '0'], ['type' => 'i32', 'value' => '65535']]],
expected: [['type' => 'i32', 'value' => '0']],
line: 87,
@@ -460,7 +423,6 @@ final class MemoryGrowTest extends SpecTestsuiteBase
public function testAssertReturn41(): void
{
$this->runAssertReturnCommand(
- module: null,
action: ['type' => 'invoke', 'field' => 'grow', 'args' => [['type' => 'i32', 'value' => '1']]],
expected: [['type' => 'i32', 'value' => '1']],
line: 88,
@@ -471,7 +433,6 @@ final class MemoryGrowTest extends SpecTestsuiteBase
public function testAssertReturn42(): void
{
$this->runAssertReturnCommand(
- module: null,
action: ['type' => 'invoke', 'field' => 'check-memory-zero', 'args' => [['type' => 'i32', 'value' => '65536'], ['type' => 'i32', 'value' => '131071']]],
expected: [['type' => 'i32', 'value' => '0']],
line: 89,
@@ -482,7 +443,6 @@ final class MemoryGrowTest extends SpecTestsuiteBase
public function testAssertReturn43(): void
{
$this->runAssertReturnCommand(
- module: null,
action: ['type' => 'invoke', 'field' => 'grow', 'args' => [['type' => 'i32', 'value' => '1']]],
expected: [['type' => 'i32', 'value' => '2']],
line: 90,
@@ -493,7 +453,6 @@ final class MemoryGrowTest extends SpecTestsuiteBase
public function testAssertReturn44(): void
{
$this->runAssertReturnCommand(
- module: null,
action: ['type' => 'invoke', 'field' => 'check-memory-zero', 'args' => [['type' => 'i32', 'value' => '131072'], ['type' => 'i32', 'value' => '196607']]],
expected: [['type' => 'i32', 'value' => '0']],
line: 91,
@@ -504,7 +463,6 @@ final class MemoryGrowTest extends SpecTestsuiteBase
public function testAssertReturn45(): void
{
$this->runAssertReturnCommand(
- module: null,
action: ['type' => 'invoke', 'field' => 'grow', 'args' => [['type' => 'i32', 'value' => '1']]],
expected: [['type' => 'i32', 'value' => '3']],
line: 92,
@@ -515,7 +473,6 @@ final class MemoryGrowTest extends SpecTestsuiteBase
public function testAssertReturn46(): void
{
$this->runAssertReturnCommand(
- module: null,
action: ['type' => 'invoke', 'field' => 'check-memory-zero', 'args' => [['type' => 'i32', 'value' => '196608'], ['type' => 'i32', 'value' => '262143']]],
expected: [['type' => 'i32', 'value' => '0']],
line: 93,
@@ -526,7 +483,6 @@ final class MemoryGrowTest extends SpecTestsuiteBase
public function testAssertReturn47(): void
{
$this->runAssertReturnCommand(
- module: null,
action: ['type' => 'invoke', 'field' => 'grow', 'args' => [['type' => 'i32', 'value' => '1']]],
expected: [['type' => 'i32', 'value' => '4']],
line: 94,
@@ -537,7 +493,6 @@ final class MemoryGrowTest extends SpecTestsuiteBase
public function testAssertReturn48(): void
{
$this->runAssertReturnCommand(
- module: null,
action: ['type' => 'invoke', 'field' => 'check-memory-zero', 'args' => [['type' => 'i32', 'value' => '262144'], ['type' => 'i32', 'value' => '327679']]],
expected: [['type' => 'i32', 'value' => '0']],
line: 95,
@@ -548,7 +503,6 @@ final class MemoryGrowTest extends SpecTestsuiteBase
public function testAssertReturn49(): void
{
$this->runAssertReturnCommand(
- module: null,
action: ['type' => 'invoke', 'field' => 'grow', 'args' => [['type' => 'i32', 'value' => '1']]],
expected: [['type' => 'i32', 'value' => '5']],
line: 96,
@@ -559,7 +513,6 @@ final class MemoryGrowTest extends SpecTestsuiteBase
public function testAssertReturn50(): void
{
$this->runAssertReturnCommand(
- module: null,
action: ['type' => 'invoke', 'field' => 'check-memory-zero', 'args' => [['type' => 'i32', 'value' => '327680'], ['type' => 'i32', 'value' => '393215']]],
expected: [['type' => 'i32', 'value' => '0']],
line: 97,
@@ -580,7 +533,6 @@ final class MemoryGrowTest extends SpecTestsuiteBase
public function testAssertReturn52(): void
{
$this->runAssertReturnCommand(
- module: null,
action: ['type' => 'invoke', 'field' => 'as-br-value', 'args' => []],
expected: [['type' => 'i32', 'value' => '1']],
line: 259,
@@ -591,7 +543,6 @@ final class MemoryGrowTest extends SpecTestsuiteBase
public function testAssertReturn53(): void
{
$this->runAssertReturnCommand(
- module: null,
action: ['type' => 'invoke', 'field' => 'as-br_if-cond', 'args' => []],
expected: [],
line: 261,
@@ -602,7 +553,6 @@ final class MemoryGrowTest extends SpecTestsuiteBase
public function testAssertReturn54(): void
{
$this->runAssertReturnCommand(
- module: null,
action: ['type' => 'invoke', 'field' => 'as-br_if-value', 'args' => []],
expected: [['type' => 'i32', 'value' => '1']],
line: 262,
@@ -613,7 +563,6 @@ final class MemoryGrowTest extends SpecTestsuiteBase
public function testAssertReturn55(): void
{
$this->runAssertReturnCommand(
- module: null,
action: ['type' => 'invoke', 'field' => 'as-br_if-value-cond', 'args' => []],
expected: [['type' => 'i32', 'value' => '6']],
line: 263,
@@ -624,7 +573,6 @@ final class MemoryGrowTest extends SpecTestsuiteBase
public function testAssertReturn56(): void
{
$this->runAssertReturnCommand(
- module: null,
action: ['type' => 'invoke', 'field' => 'as-br_table-index', 'args' => []],
expected: [],
line: 265,
@@ -635,7 +583,6 @@ final class MemoryGrowTest extends SpecTestsuiteBase
public function testAssertReturn57(): void
{
$this->runAssertReturnCommand(
- module: null,
action: ['type' => 'invoke', 'field' => 'as-br_table-value', 'args' => []],
expected: [['type' => 'i32', 'value' => '1']],
line: 266,
@@ -646,7 +593,6 @@ final class MemoryGrowTest extends SpecTestsuiteBase
public function testAssertReturn58(): void
{
$this->runAssertReturnCommand(
- module: null,
action: ['type' => 'invoke', 'field' => 'as-br_table-value-index', 'args' => []],
expected: [['type' => 'i32', 'value' => '6']],
line: 267,
@@ -657,7 +603,6 @@ final class MemoryGrowTest extends SpecTestsuiteBase
public function testAssertReturn59(): void
{
$this->runAssertReturnCommand(
- module: null,
action: ['type' => 'invoke', 'field' => 'as-return-value', 'args' => []],
expected: [['type' => 'i32', 'value' => '1']],
line: 269,
@@ -668,7 +613,6 @@ final class MemoryGrowTest extends SpecTestsuiteBase
public function testAssertReturn60(): void
{
$this->runAssertReturnCommand(
- module: null,
action: ['type' => 'invoke', 'field' => 'as-if-cond', 'args' => []],
expected: [['type' => 'i32', 'value' => '0']],
line: 271,
@@ -679,7 +623,6 @@ final class MemoryGrowTest extends SpecTestsuiteBase
public function testAssertReturn61(): void
{
$this->runAssertReturnCommand(
- module: null,
action: ['type' => 'invoke', 'field' => 'as-if-then', 'args' => []],
expected: [['type' => 'i32', 'value' => '1']],
line: 272,
@@ -690,7 +633,6 @@ final class MemoryGrowTest extends SpecTestsuiteBase
public function testAssertReturn62(): void
{
$this->runAssertReturnCommand(
- module: null,
action: ['type' => 'invoke', 'field' => 'as-if-else', 'args' => []],
expected: [['type' => 'i32', 'value' => '1']],
line: 273,
@@ -701,7 +643,6 @@ final class MemoryGrowTest extends SpecTestsuiteBase
public function testAssertReturn63(): void
{
$this->runAssertReturnCommand(
- module: null,
action: ['type' => 'invoke', 'field' => 'as-select-first', 'args' => [['type' => 'i32', 'value' => '0'], ['type' => 'i32', 'value' => '1']]],
expected: [['type' => 'i32', 'value' => '1']],
line: 275,
@@ -712,7 +653,6 @@ final class MemoryGrowTest extends SpecTestsuiteBase
public function testAssertReturn64(): void
{
$this->runAssertReturnCommand(
- module: null,
action: ['type' => 'invoke', 'field' => 'as-select-second', 'args' => [['type' => 'i32', 'value' => '0'], ['type' => 'i32', 'value' => '0']]],
expected: [['type' => 'i32', 'value' => '1']],
line: 276,
@@ -723,7 +663,6 @@ final class MemoryGrowTest extends SpecTestsuiteBase
public function testAssertReturn65(): void
{
$this->runAssertReturnCommand(
- module: null,
action: ['type' => 'invoke', 'field' => 'as-select-cond', 'args' => []],
expected: [['type' => 'i32', 'value' => '0']],
line: 277,
@@ -734,7 +673,6 @@ final class MemoryGrowTest extends SpecTestsuiteBase
public function testAssertReturn66(): void
{
$this->runAssertReturnCommand(
- module: null,
action: ['type' => 'invoke', 'field' => 'as-call-first', 'args' => []],
expected: [['type' => 'i32', 'value' => '4294967295']],
line: 279,
@@ -745,7 +683,6 @@ final class MemoryGrowTest extends SpecTestsuiteBase
public function testAssertReturn67(): void
{
$this->runAssertReturnCommand(
- module: null,
action: ['type' => 'invoke', 'field' => 'as-call-mid', 'args' => []],
expected: [['type' => 'i32', 'value' => '4294967295']],
line: 280,
@@ -756,7 +693,6 @@ final class MemoryGrowTest extends SpecTestsuiteBase
public function testAssertReturn68(): void
{
$this->runAssertReturnCommand(
- module: null,
action: ['type' => 'invoke', 'field' => 'as-call-last', 'args' => []],
expected: [['type' => 'i32', 'value' => '4294967295']],
line: 281,
@@ -767,7 +703,6 @@ final class MemoryGrowTest extends SpecTestsuiteBase
public function testAssertReturn69(): void
{
$this->runAssertReturnCommand(
- module: null,
action: ['type' => 'invoke', 'field' => 'as-call_indirect-first', 'args' => []],
expected: [['type' => 'i32', 'value' => '4294967295']],
line: 283,
@@ -778,7 +713,6 @@ final class MemoryGrowTest extends SpecTestsuiteBase
public function testAssertReturn70(): void
{
$this->runAssertReturnCommand(
- module: null,
action: ['type' => 'invoke', 'field' => 'as-call_indirect-mid', 'args' => []],
expected: [['type' => 'i32', 'value' => '4294967295']],
line: 284,
@@ -789,7 +723,6 @@ final class MemoryGrowTest extends SpecTestsuiteBase
public function testAssertReturn71(): void
{
$this->runAssertReturnCommand(
- module: null,
action: ['type' => 'invoke', 'field' => 'as-call_indirect-last', 'args' => []],
expected: [['type' => 'i32', 'value' => '4294967295']],
line: 285,
@@ -800,7 +733,6 @@ final class MemoryGrowTest extends SpecTestsuiteBase
public function testAssertTrap72(): void
{
$this->runAssertTrapCommand(
- module: null,
action: ['type' => 'invoke', 'field' => 'as-call_indirect-index', 'args' => []],
text: 'undefined element',
line: 286,
@@ -811,7 +743,6 @@ final class MemoryGrowTest extends SpecTestsuiteBase
public function testAssertReturn73(): void
{
$this->runAssertReturnCommand(
- module: null,
action: ['type' => 'invoke', 'field' => 'as-local.set-value', 'args' => []],
expected: [],
line: 288,
@@ -822,7 +753,6 @@ final class MemoryGrowTest extends SpecTestsuiteBase
public function testAssertReturn74(): void
{
$this->runAssertReturnCommand(
- module: null,
action: ['type' => 'invoke', 'field' => 'as-local.tee-value', 'args' => []],
expected: [['type' => 'i32', 'value' => '1']],
line: 289,
@@ -833,7 +763,6 @@ final class MemoryGrowTest extends SpecTestsuiteBase
public function testAssertReturn75(): void
{
$this->runAssertReturnCommand(
- module: null,
action: ['type' => 'invoke', 'field' => 'as-global.set-value', 'args' => []],
expected: [],
line: 290,
@@ -844,7 +773,6 @@ final class MemoryGrowTest extends SpecTestsuiteBase
public function testAssertReturn76(): void
{
$this->runAssertReturnCommand(
- module: null,
action: ['type' => 'invoke', 'field' => 'as-load-address', 'args' => []],
expected: [['type' => 'i32', 'value' => '0']],
line: 292,
@@ -855,7 +783,6 @@ final class MemoryGrowTest extends SpecTestsuiteBase
public function testAssertReturn77(): void
{
$this->runAssertReturnCommand(
- module: null,
action: ['type' => 'invoke', 'field' => 'as-loadN-address', 'args' => []],
expected: [['type' => 'i32', 'value' => '0']],
line: 293,
@@ -866,7 +793,6 @@ final class MemoryGrowTest extends SpecTestsuiteBase
public function testAssertReturn78(): void
{
$this->runAssertReturnCommand(
- module: null,
action: ['type' => 'invoke', 'field' => 'as-store-address', 'args' => []],
expected: [],
line: 294,
@@ -877,7 +803,6 @@ final class MemoryGrowTest extends SpecTestsuiteBase
public function testAssertReturn79(): void
{
$this->runAssertReturnCommand(
- module: null,
action: ['type' => 'invoke', 'field' => 'as-store-value', 'args' => []],
expected: [],
line: 295,
@@ -888,7 +813,6 @@ final class MemoryGrowTest extends SpecTestsuiteBase
public function testAssertReturn80(): void
{
$this->runAssertReturnCommand(
- module: null,
action: ['type' => 'invoke', 'field' => 'as-storeN-address', 'args' => []],
expected: [],
line: 296,
@@ -899,7 +823,6 @@ final class MemoryGrowTest extends SpecTestsuiteBase
public function testAssertReturn81(): void
{
$this->runAssertReturnCommand(
- module: null,
action: ['type' => 'invoke', 'field' => 'as-storeN-value', 'args' => []],
expected: [],
line: 297,
@@ -910,7 +833,6 @@ final class MemoryGrowTest extends SpecTestsuiteBase
public function testAssertReturn82(): void
{
$this->runAssertReturnCommand(
- module: null,
action: ['type' => 'invoke', 'field' => 'as-unary-operand', 'args' => []],
expected: [['type' => 'i32', 'value' => '31']],
line: 299,
@@ -921,7 +843,6 @@ final class MemoryGrowTest extends SpecTestsuiteBase
public function testAssertReturn83(): void
{
$this->runAssertReturnCommand(
- module: null,
action: ['type' => 'invoke', 'field' => 'as-binary-left', 'args' => []],
expected: [['type' => 'i32', 'value' => '11']],
line: 301,
@@ -932,7 +853,6 @@ final class MemoryGrowTest extends SpecTestsuiteBase
public function testAssertReturn84(): void
{
$this->runAssertReturnCommand(
- module: null,
action: ['type' => 'invoke', 'field' => 'as-binary-right', 'args' => []],
expected: [['type' => 'i32', 'value' => '9']],
line: 302,
@@ -943,7 +863,6 @@ final class MemoryGrowTest extends SpecTestsuiteBase
public function testAssertReturn85(): void
{
$this->runAssertReturnCommand(
- module: null,
action: ['type' => 'invoke', 'field' => 'as-test-operand', 'args' => []],
expected: [['type' => 'i32', 'value' => '0']],
line: 304,
@@ -954,7 +873,6 @@ final class MemoryGrowTest extends SpecTestsuiteBase
public function testAssertReturn86(): void
{
$this->runAssertReturnCommand(
- module: null,
action: ['type' => 'invoke', 'field' => 'as-compare-left', 'args' => []],
expected: [['type' => 'i32', 'value' => '1']],
line: 306,
@@ -965,7 +883,6 @@ final class MemoryGrowTest extends SpecTestsuiteBase
public function testAssertReturn87(): void
{
$this->runAssertReturnCommand(
- module: null,
action: ['type' => 'invoke', 'field' => 'as-compare-right', 'args' => []],
expected: [['type' => 'i32', 'value' => '1']],
line: 307,
@@ -976,7 +893,6 @@ final class MemoryGrowTest extends SpecTestsuiteBase
public function testAssertReturn88(): void
{
$this->runAssertReturnCommand(
- module: null,
action: ['type' => 'invoke', 'field' => 'as-memory.grow-size', 'args' => []],
expected: [['type' => 'i32', 'value' => '1']],
line: 309,