From 9070ff54453bec5e90727cc586b4a702b54628d4 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Wed, 18 May 2016 17:32:43 -0700 Subject: use separate internal opcodes for binary variants --- test/example/c-api-hello-world.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/example/c-api-hello-world.c') 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 -- cgit v1.2.3