Closed Bug 1456569 Opened 7 years ago Closed 6 years ago

BigInt TypedArray extensions

Categories

(Core :: JavaScript Engine, enhancement, P2)

enhancement

Tracking

()

RESOLVED FIXED
mozilla68
Tracking Status
firefox61 --- wontfix
firefox68 --- fixed

People

(Reporter: terpri, Assigned: terpri)

References

(Depends on 1 open bug)

Details

(Keywords: dev-doc-complete)

Attachments

(1 file, 9 obsolete files)

Implement BigInt features related to TypedArrays, including: - BigInt64Array and BigUint64Array - 64-bit DataView methods - 64-bit atomic operations
Priority: -- → P2
Attached patch Part 1: TypedArray API changes (obsolete) — — Splinter Review
Attached patch Part 2: TypedArrays (obsolete) — — Splinter Review
Attached patch Part 3: DataViews (obsolete) — — Splinter Review
Attached patch Part 4: Atomics (obsolete) — — Splinter Review
Depends on: js-bigint
Attached patch Part 1: TypedArray API changes (obsolete) — — Splinter Review
Attachment #8973906 - Attachment is obsolete: true
Attachment #8973907 - Attachment is obsolete: true
Attachment #8973908 - Attachment is obsolete: true
Attachment #8973909 - Attachment is obsolete: true
Attached patch Part 2: TypedArrays (obsolete) — — Splinter Review
Attached patch Part 3: DataViews (obsolete) — — Splinter Review
Attached patch Part 4: Atomics (obsolete) — — Splinter Review
Blocks: js-bigint
No longer depends on: js-bigint
Attachment #8981519 - Attachment is obsolete: true
Attachment #8981520 - Attachment is obsolete: true
Attachment #8981521 - Attachment is obsolete: true
Attachment #8981522 - Attachment is obsolete: true
Attached file Bug 1507484 - Implement JIT support for BigInt (obsolete) —
Rough draft of Ion support for BigInt values
Depends on: 1522431

Comment on attachment 9032069 [details]
Bug 1507484 - Implement JIT support for BigInt

Revision D14826 was moved to bug 1507484. Setting attachment 9032069 [details] to obsolete.

Attachment #9032069 - Attachment is obsolete: true
Depends on: 1526838
Blocks: js-bigint-ship
No longer blocks: js-bigint
Depends on: 1528582
Assignee: nobody → robin
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Depends on: 1531647
Depends on: 1536695
Depends on: 1536699
Depends on: 1536702
Depends on: 1536703
Depends on: 1538408
Keywords: checkin-needed

Pushed by aiakab@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/6ccad746f5d8
Implement BigInt64 and BigUint64Array. r=wingo,jwalden,sfink

Keywords: checkin-needed
Backout by nerli@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/68ac00e863e0 Backed out changeset 6ccad746f5d8 for Linting opt failure in TypedArray.js CLOSED TREE

Wow, that's irritating! The error was "invalid typeof comparison value", complaining about "bigint". The bug is in the linter; since bigint, there's a new typeof around!

Depends on: 1540982

Apparently a workaround can be adding // eslint-disable-line valid-typeof to the end of the "offending" lines. Or doing like

// eslint-disable valid-typeof
...
// eslint-enable valid-typeof
No longer depends on: 1540982
See Also: → 1540982

(In reply to Andy Wingo [:wingo] from comment #17)

Apparently a workaround can be adding // eslint-disable-line valid-typeof to the end of the "offending" lines. Or doing like

// eslint-disable valid-typeof
...
// eslint-enable valid-typeof

You can also use:

// eslint-disable-next-line valid-typeof

(which I find generally nicer overall).

i updated the typeof expressions; this should be landable now (thanks :wingo and :standard8 for suggesting workarounds)

try run: https://treeherder.mozilla.org/#/jobs?repo=try&revision=fec598b8ec6cc75f702258798bec22b73b7b1adb

Flags: needinfo?(robin)
Keywords: checkin-needed

Pushed by dluca@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/efc786c70693
Implement BigInt64 and BigUint64Array. r=wingo,jwalden,sfink

Keywords: checkin-needed
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla68
Depends on: 1541873
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: