summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/gc/bug1511412.js
blob: 0a2d6893cd14ba0412e88ffc7872384612a086a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Object.defineProperty(this, "fuzzutils", {
      value: {
          orig_evaluate: evaluate,
          evaluate: function(c, o) {
              if (!o) {
                  o = {};
              }
              o.catchTermination = true;
              return fuzzutils.orig_evaluate(c, o);
          },
      }
  });
  gczeal(21, 10);
  fuzzutils.evaluate(`
enableShellAllocationMetadataBuilder();
function test() {}
`);