current commit
240716.5 · Add C and JS APIs to control more pass options (#6713)
console.log("// generateStackIR=" + binaryen.getGenerateStackIR());
binaryen.setGenerateStackIR(true);
assert(binaryen.getGenerateStackIR() == true);