summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug1263868.js
blob: c73a4b796fcf8da39e2324d305edc8201b9a6ce5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
if (!('oomTest' in this))
    quit();
function g(f, params) {
    entryPoints(params);
}
function entry1() {};
s = "g(entry1, {function: entry1});";
f(s);
f(s);
function f(x) {
    oomTest(() => eval(x));
}