summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/parser/bug-1263355-44.js
blob: 122123be8916c5d747a6c2c67eb4807b70159ddf (plain)
1
2
3
4
5
6
7
8
9
if (!('oomTest' in this))
  quit();

// Adapted from randomly chosen test: js/src/jit-test/tests/profiler/bug1231925.js
"use strict";
enableSPSProfiling();
oomTest(function() {
    eval("(function() {})()");
});