Debian Codegraph @

js/src/jit-test/tests/gc/bug-1894916.js

raw
1 // |jit-test| --fuzzing-safe
2 gczeal(0);
3 gczeal(8, 37);
4 function f67() {
5 for (let i71 = 0; i71 < 5; i71++) {
6 print(i71);
7 const v82 = this.transplantableObject();
8 const v83 = v82.object;
9 class C84 {};
10 const o86 = {
11 "sameZoneAs": C84,
12 "immutablePrototype": false,
13 };
14 const t60 = newGlobal(o86);
15 t60.__proto__ = v83;
16 const v90 = newGlobal({sameCompartmentAs: this});
17 v90.nukeAllCCWs();
18 v82.transplant(v90);
19 }
20 }
21 f67();