summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/auto-regress/bug1263558.js
blob: 41705977acae93ef866653928d04ec0270fb54ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// |jit-test| skip-if: !('oomTest' in this)

evalcx(`
    eval('\
        var appendToActual = function(s) {};\
        gczeal = function() {};\
        gcslice = function() {};\
        selectforgc = function() {};\
        if (!("verifyprebarriers" in this)) {\
            verifyprebarriers = function() {};\
        }\
    ');
    oomTest(() => eval('Array(..."")'));
    if ('Intl' in this)
        new Intl.NumberFormat().format(0);
`, newGlobal());