summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/allow-relazify.js
blob: 26e20aa28967c710a53593a27a11478719ea9229 (plain)
1
2
3
4
5
6
7
8
9
// |jit-test| skip-if: isLcovEnabled()
function f() {
  return 1;
}
assertEq(isLazyFunction(f), true);
assertEq(isRelazifiableFunction(f), false);
f();
assertEq(isLazyFunction(f), false);
assertEq(isRelazifiableFunction(f), true);