Skip to content

Commit 2c5f206

Browse files
committed
Merge branch 'main' of github.com:camillobruni/JetStream into 2024-11-22_driver_prep
2 parents d3b7683 + 707b7a8 commit 2c5f206

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+26361
-10393
lines changed

JetStreamDriver.js

Lines changed: 190 additions & 61 deletions
Large diffs are not rendered by default.

SunSpider/crypto-md5.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -181,9 +181,7 @@ function core_hmac_md5(key, data)
181181
*/
182182
function safe_add(x, y)
183183
{
184-
var lsw = (x & 0xFFFF) + (y & 0xFFFF);
185-
var msw = (x >> 16) + (y >> 16) + (lsw >> 16);
186-
return (msw << 16) | (lsw & 0xFFFF);
184+
return ((x & 0xffffffff) + (y & 0xffffffff)) & 0xffffffff
187185
}
188186

189187
/*

SunSpider/crypto-sha1.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,9 +127,7 @@ function core_hmac_sha1(key, data)
127127
*/
128128
function safe_add(x, y)
129129
{
130-
var lsw = (x & 0xFFFF) + (y & 0xFFFF);
131-
var msw = (x >> 16) + (y >> 16) + (lsw >> 16);
132-
return (msw << 16) | (lsw & 0xFFFF);
130+
return ((x & 0xffffffff) + (y & 0xffffffff)) & 0xffffffff
133131
}
134132

135133
/*

cli.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,13 @@ const isD8 = typeof Realm !== "undefined";
3232
if (isD8)
3333
globalThis.readFile = read;
3434
const isSpiderMonkey = typeof newGlobal !== "undefined";
35-
if (isSpiderMonkey)
35+
if (isSpiderMonkey) {
3636
globalThis.readFile = readRelativeToScript;
37+
globalThis.arguments = scriptArgs;
38+
}
3739

40+
if (typeof arguments !== "undefined" && arguments.length > 0)
41+
testList = arguments.slice();
3842
if (typeof testList === "undefined")
3943
testList = undefined;
4044

simple/float-mm.c

Lines changed: 0 additions & 160 deletions
This file was deleted.

0 commit comments

Comments
 (0)