summaryrefslogtreecommitdiff
path: root/test/binaryen.js/passes-to-skip.js
blob: c95bd5d472463ea8eb08e77c1a39c5a04f9c6916 (plain)
1
2
3
4
5
6
7
assert(!binaryen.hasPassToSkip("thePass"));

binaryen.addPassToSkip("thePass");
assert(binaryen.hasPassToSkip("thePass"));

binaryen.clearPassesToSkip();
assert(!binaryen.hasPassToSkip("thePass"));