summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/testInterpreterReentry5.js
blob: 1c9b698ebf5b39e29557d99954b8164bda234bfc (plain)
1
2
3
4
5
6
7
8
9
function testInterpreterReentry5() {
    var arr = [0, 1, 2, 3, 4];
    arr.__defineGetter__("4", function() { return 1000; });
    for (var i = 0; i < 5; i++)
        arr[i];
    for (var p in arr)
        arr[p];
}
testInterpreterReentry5();