tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

bug1666142-1.js (338B)


      1 // |jit-test| --fast-warmup
      2 
      3 // This test triggers a GC in CreateThisForIC,
      4 // without using the arguments rectifier.
      5 var records = [];
      6 function Record() {
      7    return Object.create(null);
      8 }
      9 function init() {
     10    records.push(new Record());
     11 }
     12 function f() {
     13    for (var i = 0; i < 100; i++) {
     14        init();
     15    }
     16 }
     17 
     18 gczeal(14,25);
     19 f();