js/src/jit-test/tests/ion/bug669575-3.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,p1,p2,p3,p4,p5,p6,p7,p8,p9,p10,p11,p12,p13,p14,p15,p16,p17,p18,p19,p20,p21,p22,p23,p24,p25,p26,p27,p28,p29,p30,p31) {
     2  var v1 = p1;
     3  var v2 = p2;
     4  var v15 = p15;
     5  var v16 = p16;
     6  var v18 = p18;
     7  var v20 = p20;
     8  var v22 = p22;
     9  var v23 = p23;
    10  var v24 = p24;
    11  var v26 = p26;
    12  var v28 = p28;
    13  var v30 = p30;
    14  while (v30) {
    15   while (v2) {
    16    v20 = v23 & v24;
    17    v18 = v2 & v22;
    18   }
    19   while (v26) {
    20    v15 = v1 & v16;
    21    v1 = v28 & v22;
    22   }
    23  }
    24 }
    25 loopy(415,766,0,654,700,132,644,737,873,131,452,247,185,517,202,565,722,991,197,884,586,961,321,922,745,593,0,896,404,206,0,473)

mercurial