summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/getgname-getter.js
blob: 47a0464f1c9e1011177be87bd3514d95af645613 (plain)
1
2
3
4
5
6
7
8
var accesses = 100000;

for (var i = 0; i < accesses; i++)
    assertEq(timesAccessed, i+1);

gc();

assertEq(timesAccessed, accesses + 1);