js/src/jit-test/tests/ion/bug669575-2.js

Sat, 03 Jan 2015 20:18:00 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sat, 03 Jan 2015 20:18:00 +0100
branch
TOR_BUG_3246
changeset 7
129ffea94266
permissions
-rw-r--r--

Conditionally enable double key logic according to:
private browsing mode or privacy.thirdparty.isolate preference and
implement in GetCookieStringCommon and FindCookie where it counts...
With some reservations of how to convince FindCookie users to test
condition and pass a nullptr when disabling double key logic.

     1 function loopy(p0)
     2 {
     3  var r1 = p0;
     4  var r2 = p0;
     5  var r3 = p0;
     6  var r4 = p0;
     7  var r5 = p0;
     8  var r6 = p0;
     9  var r7 = p0;
    11  while (r2) {
    12   while (r2) {
    13    r1 = r4;
    14    r5 = r6 & r1;
    15    r3 = r4 & r3;
    16   }
    17   while (r2) {
    18    r6 = r2;
    19    r3 = r7;
    20   }
    21  }
    23  return 0;
    24 }
    25 loopy(0);

mercurial