summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/xdr/runonce.js
blob: b9e154ba0ba073969eda7f07c60ca5a69f675b3f (plain)
1
2
3
4
5
6
load(libdir + "asserts.js")

// Incremental XDR doesn't have run-once script restrictions.
evaluate(cacheEntry(""), { saveIncrementalBytecode: true });
evaluate(cacheEntry(""), { saveIncrementalBytecode: true, isRunOnce: false });
evaluate(cacheEntry(""), { saveIncrementalBytecode: true, isRunOnce: true });