Skip to content

version_101

Compare
Choose a tag to compare
@sbc100 sbc100 released this 16 Apr 18:32
423cf0b
  • BinaryenSetFunctionTable and module.setFunctionTable have been removed
    in favor of BinaryenAddTable and module.addTable respectively.
  • BinaryenIsFunctionTableImported is removed.
  • A new type BinaryenElementSegmentRef has been added to the C API with
    new apis in both C & JS:
    • BinaryenAddActiveElementSegment
    • 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 function
    names.
  • BinaryenGetNumFunctionTableSegments is replaced with
    BinaryenGetNumElementSegments.
  • BinaryenGetFunctionTableSegmentOffset is replaced with
    BinaryenElementSegmentGetOffset.
  • BinaryenGetFunctionTableSegmentLength is replaced with
    BinaryenElementSegmentGetLength.
  • BinaryenGetFunctionTableSegmentData is replaced with
    BinaryenElementSegmentGetData.
  • Boolean values in the C API now should use bool instead of int.
  • Experimental SIMD instructions have been removed and the names and opcodes of
    the standard instructions have been updated to match the final spec.