Closed Bug 1526309 Opened 7 years ago Closed 7 years ago

Add BigInt support to JSOP_INC and JSOP_DEC

Categories

(Core :: JavaScript Engine, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla67
Tracking Status
firefox67 --- fixed

People

(Reporter: wingo, Assigned: wingo)

References

Details

Attachments

(1 file)

Currently the new JSOP_INC and JSOP_DEC opcodes don't yet work with bigints. This patch will extend them to work on bigints. This would be easy except that Ion wants to desugar to VAL + 1, which doesn't work as you can't add a double/int32 to a bigint, so there's a bit of Ion work needed there.

Assignee: nobody → wingo
Keywords: checkin-needed

Pushed by rmaries@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/11f5a8e7853b
Add BigInt support to JSOP_INC and JSOP_DEC r=jandem,terpri

Keywords: checkin-needed
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: