tor-browser

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

bug1580020.js (349B)


      1 // This test was designed for asan.
      2 //
      3 // In the deferred mode of parsing we need to ensure that the
      4 // asmJS parser doesn't emit the deferred big int under the
      5 // asmJS lifo alloc.
      6 var x = -1n;
      7 function a() {
      8  'use asm';
      9  function f() {
     10    return (((((-1) >>> (0 + 0)) | 0) % 10000) >> (0 + 0)) | 0;
     11  }
     12  return f;
     13 }
     14 assertEq(true, a()() == x);