diff options
-rw-r--r-- | test/example/c-api-kitchen-sink.c | 2 | ||||
-rw-r--r-- | test/example/c-api-kitchen-sink.txt | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/test/example/c-api-kitchen-sink.c b/test/example/c-api-kitchen-sink.c index 6a7b013e4..b7b938c55 100644 --- a/test/example/c-api-kitchen-sink.c +++ b/test/example/c-api-kitchen-sink.c @@ -351,7 +351,7 @@ void test_relooper() { RelooperAddBranch(block4, block5, NULL, NULL); RelooperAddBranch(block5, block6, NULL, makeInt32(module, 40)); BinaryenExpressionRef body = RelooperRenderAndDispose(relooper, block0, 0, module); - BinaryenFunctionRef sinker = BinaryenAddFunction(module, "loop-tail", v, localTypes, 1, body); + BinaryenFunctionRef sinker = BinaryenAddFunction(module, "nontrivial-loop-plus-phi-to-head", v, localTypes, 1, body); } printf("raw:\n"); diff --git a/test/example/c-api-kitchen-sink.txt b/test/example/c-api-kitchen-sink.txt index 30444c886..71b937219 100644 --- a/test/example/c-api-kitchen-sink.txt +++ b/test/example/c-api-kitchen-sink.txt @@ -533,7 +533,7 @@ raw: (i32.const 2) ) ) - (func $loop-tail (type $v) + (func $nontrivial-loop-plus-phi-to-head (type $v) (local $0 i32) (block (i32.const 0) @@ -707,7 +707,7 @@ optimized: ) (i32.const 2) ) - (func $loop-tail (type $v) + (func $nontrivial-loop-plus-phi-to-head (type $v) (local $0 i32) (i32.const 0) (i32.const 10) |