Closed Bug 1490387 Opened 7 years ago Closed 7 years ago

BigInt bitwise operators

Categories

(Core :: JavaScript Engine, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla64
Tracking Status
firefox64 --- fixed

People

(Reporter: terpri, Assigned: terpri)

References

Details

Attachments

(3 files)

Implement BigInt support for bitwise operators.
Comment on attachment 9008117 [details] bug 1490387 - Part 2: Implement ToInt32OrBigInt operation. Jan de Mooij [:jandem] has approved the revision.
Attachment #9008117 - Flags: review+
Comment on attachment 9008116 [details] bug 1490387 - Part 1: Add BigInt methods for bitwise operations. Jan de Mooij [:jandem] has approved the revision.
Attachment #9008116 - Flags: review+
Comment on attachment 9008118 [details] bug 1490387 - Part 3: Implement BigInt support for bitwise operators. Jan de Mooij [:jandem] has approved the revision.
Attachment #9008118 - Flags: review+
Assignee: nobody → robin
Status: NEW → ASSIGNED
Keywords: checkin-needed
Pushed by aiakab@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/5433e5f72f23 Part 1: Add BigInt methods for bitwise operations. r=jandem
Keywords: checkin-needed
Pushed by aiakab@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/05c1ab8569bd Part 2: Implement ToInt32OrBigInt operation. r=jandem
Pushed by aiakab@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/65d8d6533300 Part 3: Implement BigInt support for bitwise operators. r=jandem
Backed out changeset 5433e5f72f23 (bug 1490387)for causing spidermokey build bustages CLOSED TREE Part1 Backed out changeset 05c1ab8569bd (bug 1490387)for causing spidermokey build bustages CLOSED TREE Part2 Backed out changeset 65d8d6533300 (bug 1490387)for causing spidermokey build bustages CLOSED TREE Part3 Backout push https://treeherder.mozilla.org/#/jobs?repo=autoland&resultStatus=testfailed%2Cbusted%2Cexception&classifiedState=unclassified&revision=3519c8034245436f261446d4f2820436b5205f1e Failed push https://treeherder.mozilla.org/#/jobs?repo=autoland&resultStatus=testfailed%2Cbusted%2Cexception&classifiedState=unclassified&revision=65d8d65333008acdf5ab79df0e495168ceb19a43 Failure log: https://treeherder.mozilla.org/logviewer.html#?job_id=199546467&repo=autoland :terpri The bustages occurred in part 3 but not sure if the bustages are present in the other patches because I have cancelled the jobs from part 1 and part 2. Please check all the patches.
Flags: needinfo?(robin)
Backout by shindli@mozilla.com: https://hg.mozilla.org/mozilla-central/rev/819c87ba38b7 Backed out changeset 5433e5f72f23 for causing spidermokey build bustages CLOSED TREE https://hg.mozilla.org/mozilla-central/rev/de10f7dce98f Backed out changeset 05c1ab8569bd for causing spidermokey build bustages CLOSED TREE
I think the main issue is that JIT instructions for bitwise operators now need to return JS values in some situations, but are expected to always return ints. I'll try changing the return type of the unspecialized ops and see if it fixes the JIT test failures.
Flags: needinfo?(robin)
The new revision (with Ion type errors fixed) passes all of the JS tests, so it should be ready to land now. Try run: https://treeherder.mozilla.org/#/jobs?repo=try&revision=9d4986b5a5c120b1b88361a7d1a0ef62339c2ee5&selectedJob=199831952
Keywords: checkin-needed
Pushed by nerli@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e69d3f0b8967 Part 1: Add BigInt methods for bitwise operations. r=jandem https://hg.mozilla.org/integration/autoland/rev/b74cf577c401 Part 2: Implement ToInt32OrBigInt operation. r=jandem https://hg.mozilla.org/integration/autoland/rev/d5c22661c860 Part 3: Implement BigInt support for bitwise operators. r=jandem
Keywords: checkin-needed
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: