summaryrefslogtreecommitdiff
path: root/test/example/c-api-kitchen-sink.c
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2016-05-05 10:30:36 -0700
committerAlon Zakai <alonzakai@gmail.com>2016-05-05 10:30:36 -0700
commitbbf846554a407e0385f91f5b7eeb9594c12e0bc5 (patch)
tree08ee1e92384235c2f830b65ba7a12c59689d1b88 /test/example/c-api-kitchen-sink.c
parent715d1becddcb89c49d71aa19e62ed27f967e5860 (diff)
downloadbinaryen-bbf846554a407e0385f91f5b7eeb9594c12e0bc5.tar.gz
binaryen-bbf846554a407e0385f91f5b7eeb9594c12e0bc5.tar.bz2
binaryen-bbf846554a407e0385f91f5b7eeb9594c12e0bc5.zip
improve test
Diffstat (limited to 'test/example/c-api-kitchen-sink.c')
-rw-r--r--test/example/c-api-kitchen-sink.c2
1 files changed, 1 insertions, 1 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");