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 /src/binaryen-c.h | |
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 'src/binaryen-c.h')
-rw-r--r-- | src/binaryen-c.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/binaryen-c.h b/src/binaryen-c.h index d3858489c..b9343012c 100644 --- a/src/binaryen-c.h +++ b/src/binaryen-c.h @@ -260,7 +260,7 @@ BinaryenExpressionRef BinaryenSwitch(BinaryenModuleRef module, const char **name // know what it is. BinaryenExpressionRef BinaryenCall(BinaryenModuleRef module, const char *target, BinaryenExpressionRef* operands, BinaryenIndex numOperands, BinaryenType returnType); BinaryenExpressionRef BinaryenCallImport(BinaryenModuleRef module, const char *target, BinaryenExpressionRef* operands, BinaryenIndex numOperands, BinaryenType returnType); -BinaryenExpressionRef BinaryenCallIndirect(BinaryenModuleRef module, BinaryenExpressionRef target, BinaryenExpressionRef* operands, BinaryenIndex numOperands, BinaryenFunctionTypeRef type); +BinaryenExpressionRef BinaryenCallIndirect(BinaryenModuleRef module, BinaryenExpressionRef target, BinaryenExpressionRef* operands, BinaryenIndex numOperands, const char* type); // GetLocal: Note the 'type' parameter. It might seem redundant, since the // local at that index must have a type. However, this API lets you // build code "top-down": create a node, then its parents, and so |