summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/testInterpreterReentry.js
blob: d820b233365932064dd60e13f0a714620ded875c (plain)
1
2
3
4
5
6
function testInterpreterReentry() {
    this.__defineSetter__('x', function(){})
    for (var j = 0; j < 5; ++j) { x = 3; }
    return 1;
}
assertEq(testInterpreterReentry(), 1);