Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit e5539ef

Browse files
authoredJun 3, 2025··
chore: update Binaryen (#2927)
1 parent 44b658d commit e5539ef

File tree

106 files changed

+4388
-6660
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

106 files changed

+4388
-6660
lines changed
 

‎cli/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -945,9 +945,10 @@ export async function main(argv, options) {
945945
try {
946946
// use superset text format when extension is `.wast`.
947947
// Otherwise use official stack IR format (wat).
948+
binaryen.setOptimizeStackIR(true);
948949
out = opts.textFile?.endsWith(".wast")
949950
? binaryenModule.emitText()
950-
: binaryenModule.emitStackIR(true);
951+
: binaryenModule.emitStackIR();
951952
} catch (e) {
952953
crash("emitText", e);
953954
}

‎package-lock.json

Lines changed: 15 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)