summaryrefslogtreecommitdiff
path: root/test/binaryen.js/optimize-stack-ir.js
blob: ec3a7c54d6d95f9dcc790110bff174bf16c86404 (plain)
1
2
3
console.log("// optimizeStackIR=" + binaryen.getOptimizeStackIR());
binaryen.setOptimizeStackIR(true);
assert(binaryen.getOptimizeStackIR() == true);