diff options
author | Alon Zakai <alonzakai@gmail.com> | 2016-05-18 23:25:55 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2016-05-18 23:25:55 -0700 |
commit | ce03a34d97b1afa3b7abd88d04bbbaffe346f1d9 (patch) | |
tree | 3b355032ee402a595954f703558a7dc84b7a55cf /test/example/c-api-hello-world.c | |
parent | 4a7080b8dc98422b63dc5db3245029d3f689de15 (diff) | |
parent | 50c94e3e9fb6cdf043c7841d73299ee8be5d2cbd (diff) | |
download | binaryen-ce03a34d97b1afa3b7abd88d04bbbaffe346f1d9.tar.gz binaryen-ce03a34d97b1afa3b7abd88d04bbbaffe346f1d9.tar.bz2 binaryen-ce03a34d97b1afa3b7abd88d04bbbaffe346f1d9.zip |
Merge pull request #526 from WebAssembly/spec-test-update
Spec test updates, and many validation fixes
Diffstat (limited to 'test/example/c-api-hello-world.c')
-rw-r--r-- | test/example/c-api-hello-world.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/example/c-api-hello-world.c b/test/example/c-api-hello-world.c index 016c2404b..e4a8a1cad 100644 --- a/test/example/c-api-hello-world.c +++ b/test/example/c-api-hello-world.c @@ -13,7 +13,7 @@ int main() { // Get the 0 and 1 arguments, and add them BinaryenExpressionRef x = BinaryenGetLocal(module, 0, BinaryenInt32()), y = BinaryenGetLocal(module, 1, BinaryenInt32()); - BinaryenExpressionRef add = BinaryenBinary(module, BinaryenAdd(), x, y); + BinaryenExpressionRef add = BinaryenBinary(module, BinaryenAddInt32(), x, y); // Create the add function // Note: no additional local variables |