Debian Codegraph @

js/src/jit-test/tests/gc/bug1511412.js

raw
1 Object.defineProperty(this, "fuzzutils", {
2 value: {
3 orig_evaluate: evaluate,
4 evaluate: function(c, o) {
5 if (!o) {
6 o = {};
7 }
8 o.catchTermination = true;
9 return fuzzutils.orig_evaluate(c, o);
10 },
11 }
12 });
13 gczeal(21, 10);
14 fuzzutils.evaluate(`
15 enableShellAllocationMetadataBuilder();
16 function test() {}
17 `);