Sun Feb 12 22:32:58 2023 UTC ()
binaryen: update to 112.

v112
----

- Add AbstractTypeRefining pass (#5461)
- Add a mechanism to skip a pass by name (#5448)
- Add TypeMerging pass (#5321)
- Add TypeSSA pass  (#5299)
- Optimization sequences like `-O3 -Os` now do the expected thing and run `-O3`
  followed by `-Os`. Previously the last of them set the defaults that were used
  by all executions, so `-O3 -Os` was equivalent to `-Os -Os`. (There is no
  change to the default optimization level that other passes can see. For
  example, `--precompute-propagate -O2 -O1` will run `--precompute-propagate`
  at opt level `1`, as the global default is set to `2` and then overridden to
  `1`. The only change is that the passes run by `-O2` will actually run `-O2`
  now, while before they'd use the global default which made them do `-O1`.)
- Add `--closed-world` flag. This enables more optimizations in GC mode as it
  lets us assume that we can change types inside the module.
- The isorecursive WasmGC type system (i.e. --hybrid) is now the default to
  match the spec and the old default equirecursive (i.e. --structural) system
  has been removed.
- `ref.is_func`, `ref.is_data`, and `ref.is_i31` have been removed from the C
  and JS APIs and `RefIs` has been replaced with `RefIsNull`.
- Types `Data` and `Dataref` have been replaced with types `Struct` and
  `Structref` in the C and JS APIs.
* `BinaryenStringNew` now takes an additional last argument, `try_`, indicating
  whether the instruction is one of `string.new_utf8_try` respectively
  `string.new_utf8_array_try`.
* `BinaryenStringEq` now takes an additional second argument, `op`, that is
  either `BinaryenStringEqEqual()` if the instruction is `string.eq` or
  `BinaryenStringEqCompare()` if the instruction is `string.compare`.


(fcambus)
diff -r1.15 -r1.16 pkgsrc/devel/binaryen/Makefile
diff -r1.15 -r1.16 pkgsrc/devel/binaryen/distinfo

cvs diff -r1.15 -r1.16 pkgsrc/devel/binaryen/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/binaryen/Makefile 2022/11/19 17:00:20 1.15
+++ pkgsrc/devel/binaryen/Makefile 2023/02/12 22:32:58 1.16
@@ -1,16 +1,16 @@ @@ -1,16 +1,16 @@
1# $NetBSD: Makefile,v 1.15 2022/11/19 17:00:20 fcambus Exp $ 1# $NetBSD: Makefile,v 1.16 2023/02/12 22:32:58 fcambus Exp $
2 2
3VERSION= 111 3VERSION= 112
4DISTNAME= binaryen-${VERSION} 4DISTNAME= binaryen-${VERSION}
5CATEGORIES= devel 5CATEGORIES= devel
6MASTER_SITES= ${MASTER_SITE_GITHUB:=WebAssembly/} 6MASTER_SITES= ${MASTER_SITE_GITHUB:=WebAssembly/}
7GITHUB_TAG= version_${VERSION} 7GITHUB_TAG= version_${VERSION}
8 8
9MAINTAINER= pkgsrc-users@NetBSD.org 9MAINTAINER= pkgsrc-users@NetBSD.org
10HOMEPAGE= https://github.com/WebAssembly/binaryen/ 10HOMEPAGE= https://github.com/WebAssembly/binaryen/
11COMMENT= Compiler and toolchain infrastructure library for WebAssembly 11COMMENT= Compiler and toolchain infrastructure library for WebAssembly
12LICENSE= apache-2.0 12LICENSE= apache-2.0
13 13
14USE_CMAKE= yes 14USE_CMAKE= yes
15USE_LANGUAGES= c c++17 15USE_LANGUAGES= c c++17
16 16

cvs diff -r1.15 -r1.16 pkgsrc/devel/binaryen/distinfo (expand / switch to unified diff)

--- pkgsrc/devel/binaryen/distinfo 2022/11/19 17:00:20 1.15
+++ pkgsrc/devel/binaryen/distinfo 2023/02/12 22:32:58 1.16
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.15 2022/11/19 17:00:20 fcambus Exp $ 1$NetBSD: distinfo,v 1.16 2023/02/12 22:32:58 fcambus Exp $
2 2
3BLAKE2s (binaryen-111.tar.gz) = d9e16612038f9eb94e6bd18400904058e2cedb1c068c4b657bbfc15a78a4a1ca 3BLAKE2s (binaryen-112.tar.gz) = 2de1dbe0718f9b1ffca7b33b1d7da8321e46e1002d1b459d8a8cdb76b74bef65
4SHA512 (binaryen-111.tar.gz) = 249b37a4c6096d7386529166d34753414db80175c403181f8f1d17960681c8abb8710c759ef81826c01575b2696bdd93a769c48ba79ca3acf51e2c91a93c155f 4SHA512 (binaryen-112.tar.gz) = 63eabfcf34baadc4ca2b0e640a24219f9425c77f6fc1473e9b404f3a75c8715ce38968060c372aa74530ec5da68fd3d1e0c22beee1902c5d8cfa31912c473485
5Size (binaryen-111.tar.gz) = 4351632 bytes 5Size (binaryen-112.tar.gz) = 4424435 bytes
6SHA1 (patch-third__party_CMakeLists.txt) = 02f3f7476049348a29e93ebe3bceb2dbba47ebf3 6SHA1 (patch-third__party_CMakeLists.txt) = 02f3f7476049348a29e93ebe3bceb2dbba47ebf3