Optimizer and compiler/toolchain library for WebAssembly
BinaryenSetFunctionTable
and module.setFunctionTable
have been removedBinaryenAddTable
and module.addTable
respectively.BinaryenIsFunctionTableImported
is removed.BinaryenElementSegmentRef
has been added to the C API withBinaryenAddActiveElementSegment
BinaryenAddPassiveElementSegment
BinaryenRemoveElementSegment
BinaryenGetElementSegment
BinaryenGetElementSegmentByIndex
BinaryenElementSegmentGetName
BinaryenElementSegmentSetName
BinaryenElementSegmentGetTable
BinaryenElementSegmentSetTable
BinayenElementSegmentIsPassive
module.addActiveElementSegment
module.addPassiveElementSegment
module.removeElementSegment
module.getElementSegment
module.getElementSegmentByIndex
module.getTableSegments
module.getNumElementSegments
binaryen.getElementSegmentInfo
BinaryenAddTable
and module.addTable
no longer take offset and functionBinaryenGetNumFunctionTableSegments
is replaced withBinaryenGetNumElementSegments
.BinaryenGetFunctionTableSegmentOffset
is replaced withBinaryenElementSegmentGetOffset
.BinaryenGetFunctionTableSegmentLength
is replaced withBinaryenElementSegmentGetLength
.BinaryenGetFunctionTableSegmentData
is replaced withBinaryenElementSegmentGetData
.bool
instead of int
.