From f30d9f6cde023b29409f73aba68f472c06c3b11c Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Wed, 3 Aug 2016 12:12:24 -0700 Subject: loops no longer have an out label and other upstream loop updates --- test/example/c-api-kitchen-sink.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'test/example/c-api-kitchen-sink.c') diff --git a/test/example/c-api-kitchen-sink.c b/test/example/c-api-kitchen-sink.c index d22a30e9c..f60b62785 100644 --- a/test/example/c-api-kitchen-sink.c +++ b/test/example/c-api-kitchen-sink.c @@ -185,9 +185,8 @@ void test_core() { BinaryenBlock(module, NULL, NULL, 0), // block with no name BinaryenIf(module, temp1, temp2, temp3), BinaryenIf(module, temp4, temp5, NULL), - BinaryenLoop(module, "out", "in", makeInt32(module, 0)), - BinaryenLoop(module, NULL, "in2", makeInt32(module, 0)), - BinaryenLoop(module, NULL, NULL, makeInt32(module, 0)), + BinaryenLoop(module, "in", makeInt32(module, 0)), + BinaryenLoop(module, NULL, makeInt32(module, 0)), BinaryenBreak(module, "the-value", temp6, temp7), BinaryenBreak(module, "the-nothing", makeInt32(module, 2), NULL), BinaryenBreak(module, "the-value", NULL, makeInt32(module, 3)), -- cgit v1.2.3