summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/realms/bug1519857.js
blob: 4b7d9511df9bd0a51c3ac8a4bdb50f85ffee1973 (plain)
1
2
3
4
// |jit-test| skip-if: !("dis" in this)
const g = newGlobal({sameCompartmentAs: this});
g.eval(`function f() { y(); }`);
dis(g.f);