summaryrefslogtreecommitdiff
path: root/CHANGELOG.md
diff options
context:
space:
mode:
authorChristian Speckner <christian.speckner@mayflower.de>2024-07-16 01:04:37 +0200
committerGitHub <noreply@github.com>2024-07-15 16:04:37 -0700
commitfd8b2bd43d73cf1976426e60c22c5261fa343510 (patch)
tree79d1fbc91d65ba0f8a4a6b3db0ca070b0628ebda /CHANGELOG.md
parentaec516f1259c3fec92982db92dc0e4e67ab2251a (diff)
downloadbinaryen-fd8b2bd43d73cf1976426e60c22c5261fa343510.tar.gz
binaryen-fd8b2bd43d73cf1976426e60c22c5261fa343510.tar.bz2
binaryen-fd8b2bd43d73cf1976426e60c22c5261fa343510.zip
Allow different arguments for multiple instances of a pass (#6687)
Each pass instance can now store an argument for it, which can be different. This may be a breaking change for the corner case of running a pass multiple times and setting the pass's argument multiple times as well (before, the last pass argument affected them all; now, it affects the last instance only). This only affects arguments with the name of a pass; others remain global, as before (and multiple passes can read them, in fact). See the CHANGELOG for details. Fixes #6646
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r--CHANGELOG.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 56199c983..5f7a37581 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -41,6 +41,12 @@ v118
- The build-time option to use legacy WasmGC opcodes is removed.
- The strings in `string.const` instructions must now be valid WTF-8.
- The `TraverseCalls` flag for `ExpressionRunner` is removed.
+ - Passes can now receive individual pass arguments, that is --foo=A --foo=B for
+ a pass foo will run the pass twice (which was possible before) and will now
+ run it first with argument A and second with B. --pass-arg=foo@BAR will now
+ apply to the most recent --foo pass on the commandline, if foo is a pass
+ (while global pass arguments - that are not the name of a pass - remain, as
+ before, global for all passes).
v117
----