diff options
Diffstat (limited to 'test/example')
-rw-r--r-- | test/example/c-api-kitchen-sink.c | 2 | ||||
-rw-r--r-- | test/example/c-api-relooper-unreachable-if.cpp | 2 | ||||
-rw-r--r-- | test/example/c-api-unused-mem.cpp | 2 | ||||
-rw-r--r-- | test/example/relooper-fuzz.c | 2 | ||||
-rw-r--r-- | test/example/relooper-fuzz1.c | 2 | ||||
-rw-r--r-- | test/example/relooper-fuzz2.c | 2 | ||||
-rw-r--r-- | test/example/relooper-merge1.c | 2 | ||||
-rw-r--r-- | test/example/relooper-merge2.c | 2 | ||||
-rw-r--r-- | test/example/relooper-merge3.c | 2 | ||||
-rw-r--r-- | test/example/relooper-merge4.c | 2 | ||||
-rw-r--r-- | test/example/relooper-merge5.c | 2 | ||||
-rw-r--r-- | test/example/relooper-merge6.c | 2 |
12 files changed, 15 insertions, 9 deletions
diff --git a/test/example/c-api-kitchen-sink.c b/test/example/c-api-kitchen-sink.c index 37aa15bf8..267e0763d 100644 --- a/test/example/c-api-kitchen-sink.c +++ b/test/example/c-api-kitchen-sink.c @@ -511,6 +511,7 @@ void test_core() { segmentSizes, 2, 1, + 0, "0"); BinaryenExpressionRef valueList[] = { @@ -1991,6 +1992,7 @@ void test_for_each() { segmentSizes, 2, 0, + 0, "0"); BinaryenAddGlobal(module, "a-global", diff --git a/test/example/c-api-relooper-unreachable-if.cpp b/test/example/c-api-relooper-unreachable-if.cpp index c63ca0204..1c5708835 100644 --- a/test/example/c-api-relooper-unreachable-if.cpp +++ b/test/example/c-api-relooper-unreachable-if.cpp @@ -29,6 +29,7 @@ int main() { segmentSizes, 0, 0, + 0, "0"); } the_relooper = RelooperCreate(the_module); @@ -598,6 +599,7 @@ int main() { segmentSizes, 0, 0, + 0, "0"); } expressions[157] = BinaryenConst(the_module, BinaryenLiteralInt32(65535)); diff --git a/test/example/c-api-unused-mem.cpp b/test/example/c-api-unused-mem.cpp index 6c0fd14c1..a0970a8ca 100644 --- a/test/example/c-api-unused-mem.cpp +++ b/test/example/c-api-unused-mem.cpp @@ -30,6 +30,7 @@ int main() { segmentSizes, 0, 0, + 0, "0"); } the_relooper = RelooperCreate(the_module); @@ -94,6 +95,7 @@ int main() { segmentSizes, 0, 0, + 0, "0"); } expressions[11] = BinaryenConst(the_module, BinaryenLiteralInt32(65535)); diff --git a/test/example/relooper-fuzz.c b/test/example/relooper-fuzz.c index f0b727f4c..a648e61b4 100644 --- a/test/example/relooper-fuzz.c +++ b/test/example/relooper-fuzz.c @@ -369,7 +369,7 @@ int main() { BinaryenTypeNone()); // memory - BinaryenSetMemory(module, 1, 1, "mem", NULL, NULL, NULL, NULL, 0, 0, "0"); + BinaryenSetMemory(module, 1, 1, "mem", NULL, NULL, NULL, NULL, 0, 0, 0, "0"); assert(BinaryenModuleValidate(module)); diff --git a/test/example/relooper-fuzz1.c b/test/example/relooper-fuzz1.c index f481fe713..a524922d7 100644 --- a/test/example/relooper-fuzz1.c +++ b/test/example/relooper-fuzz1.c @@ -366,7 +366,7 @@ int main() { BinaryenTypeNone()); // memory - BinaryenSetMemory(module, 1, 1, "mem", NULL, NULL, NULL, NULL, 0, 0, "0"); + BinaryenSetMemory(module, 1, 1, "mem", NULL, NULL, NULL, NULL, 0, 0, 0, "0"); assert(BinaryenModuleValidate(module)); diff --git a/test/example/relooper-fuzz2.c b/test/example/relooper-fuzz2.c index c179606a0..8d129b77b 100644 --- a/test/example/relooper-fuzz2.c +++ b/test/example/relooper-fuzz2.c @@ -690,7 +690,7 @@ int main() { BinaryenTypeNone()); // memory - BinaryenSetMemory(module, 1, 1, "mem", NULL, NULL, NULL, NULL, 0, 0, "0"); + BinaryenSetMemory(module, 1, 1, "mem", NULL, NULL, NULL, NULL, 0, 0, 0, "0"); // optionally, optimize if (0) diff --git a/test/example/relooper-merge1.c b/test/example/relooper-merge1.c index f7939adc6..4086de438 100644 --- a/test/example/relooper-merge1.c +++ b/test/example/relooper-merge1.c @@ -232,7 +232,7 @@ int main() { BinaryenTypeNone()); // memory - BinaryenSetMemory(module, 1, 1, "mem", NULL, NULL, NULL, NULL, 0, 0, "0"); + BinaryenSetMemory(module, 1, 1, "mem", NULL, NULL, NULL, NULL, 0, 0, 0, "0"); // optionally, optimize if (0) diff --git a/test/example/relooper-merge2.c b/test/example/relooper-merge2.c index be8fba500..d85f9d71c 100644 --- a/test/example/relooper-merge2.c +++ b/test/example/relooper-merge2.c @@ -247,7 +247,7 @@ int main() { BinaryenTypeNone()); // memory - BinaryenSetMemory(module, 1, 1, "mem", NULL, NULL, NULL, NULL, 0, 0, "0"); + BinaryenSetMemory(module, 1, 1, "mem", NULL, NULL, NULL, NULL, 0, 0, 0, "0"); // optionally, optimize if (0) diff --git a/test/example/relooper-merge3.c b/test/example/relooper-merge3.c index f1e3d8a54..9347e0fde 100644 --- a/test/example/relooper-merge3.c +++ b/test/example/relooper-merge3.c @@ -231,7 +231,7 @@ int main() { BinaryenTypeNone()); // memory - BinaryenSetMemory(module, 1, 1, "mem", NULL, NULL, NULL, NULL, 0, 0, "0"); + BinaryenSetMemory(module, 1, 1, "mem", NULL, NULL, NULL, NULL, 0, 0, 0, "0"); // optionally, optimize if (0) diff --git a/test/example/relooper-merge4.c b/test/example/relooper-merge4.c index b379800dd..b4373454d 100644 --- a/test/example/relooper-merge4.c +++ b/test/example/relooper-merge4.c @@ -231,7 +231,7 @@ int main() { BinaryenTypeNone()); // memory - BinaryenSetMemory(module, 1, 1, "mem", NULL, NULL, NULL, NULL, 0, 0, "0"); + BinaryenSetMemory(module, 1, 1, "mem", NULL, NULL, NULL, NULL, 0, 0, 0, "0"); // optionally, optimize if (0) diff --git a/test/example/relooper-merge5.c b/test/example/relooper-merge5.c index d678a630e..79ee6abc8 100644 --- a/test/example/relooper-merge5.c +++ b/test/example/relooper-merge5.c @@ -231,7 +231,7 @@ int main() { BinaryenTypeNone()); // memory - BinaryenSetMemory(module, 1, 1, "mem", NULL, NULL, NULL, NULL, 0, 0, "0"); + BinaryenSetMemory(module, 1, 1, "mem", NULL, NULL, NULL, NULL, 0, 0, 0, "0"); // optionally, optimize if (0) diff --git a/test/example/relooper-merge6.c b/test/example/relooper-merge6.c index 9d9d33361..774dd934c 100644 --- a/test/example/relooper-merge6.c +++ b/test/example/relooper-merge6.c @@ -234,7 +234,7 @@ int main() { BinaryenTypeNone()); // memory - BinaryenSetMemory(module, 1, 1, "mem", NULL, NULL, NULL, NULL, 0, 0, "0"); + BinaryenSetMemory(module, 1, 1, "mem", NULL, NULL, NULL, NULL, 0, 0, 0, "0"); // optionally, optimize if (0) |