tor-browser

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

bug1621265.js (460B)


      1 // |jit-test| error:null
      2 
      3 function f(a) {
      4  // Add |arguments[0]| to mark the function as having an arguments
      5  // access. Even though there's a |JSOp::SetArg| bytecode is present, we can
      6  // still use lazy arguments here, because the |JSOp::SetArg| bytecode is
      7  // always unreachable.
      8  var v = arguments[0];
      9  assertEq(v, 1);
     10 
     11  // Anything below the |throw| is unreachable.
     12  throw null;
     13 
     14  // Add an unreachable |JSOp::SetArg| bytecode.
     15  a = 4;
     16 }
     17 f(1);