summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug1232859.js
blob: 4eefa634eeab0c5e258c63b06b3ddc6fa437b25d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// |jit-test| error:recursion
x = /x/;
z = [];
y = Object.defineProperty(z, "valueOf", {
    get: function() {
        +y;
        for (var i = 0; i < 1; i++) {
            a = x.exec(0);
        }
    }
})
z + '';