diff options
author | Alon Zakai <alonzakai@gmail.com> | 2016-06-03 16:31:49 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2016-06-03 16:31:49 -0700 |
commit | b6668d8ca5b08bdf69f057ecdc6ad8a588429761 (patch) | |
tree | 95f138f1c4e1681ee9d747ac57189b2cd438c51f /test/example/c-api-kitchen-sink.c | |
parent | c8ec0cd6c053f9e68daf4ba4fdf8137957c1b236 (diff) | |
download | binaryen-b6668d8ca5b08bdf69f057ecdc6ad8a588429761.tar.gz binaryen-b6668d8ca5b08bdf69f057ecdc6ad8a588429761.tar.bz2 binaryen-b6668d8ca5b08bdf69f057ecdc6ad8a588429761.zip |
make call_indirect type a name, so that it is not a dependency on the module, which would break consistency and make some parallel passes tricky (#568)
Diffstat (limited to 'test/example/c-api-kitchen-sink.c')
-rw-r--r-- | test/example/c-api-kitchen-sink.c | 2 |
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 4e0bd5af4..ad499291a 100644 --- a/test/example/c-api-kitchen-sink.c +++ b/test/example/c-api-kitchen-sink.c @@ -175,7 +175,7 @@ void test_core() { ) ), BinaryenUnary(module, BinaryenEqZInt32(), // check the output type of the call node - BinaryenCallIndirect(module, makeInt32(module, 2449), callOperands4, 4, iiIfF) + BinaryenCallIndirect(module, makeInt32(module, 2449), callOperands4, 4, "iiIfF") ), BinaryenGetLocal(module, 0, BinaryenInt32()), BinaryenSetLocal(module, 0, makeInt32(module, 101)), |