tor-browser

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

bug1645835.js (477B)


      1 function Base() {
      2  // Creates MNewObject, which is recoverable. An instruction which has the
      3  // |RecoveredOnBailout| flag set mustn't have any live uses.
      4  return {};
      5 }
      6 
      7 class C extends Base {
      8  constructor() {
      9    // |super()| assigns to |this|. The |this| slot mustn't be optimised away
     10    // in case the debugger tries to read that slot.
     11    super();
     12  }
     13 }
     14 
     15 for (var i = 0; i < 100; i++) {
     16  // The returned object is not used, so it can be optimised away.
     17  new C();
     18 }