Closed Bug 1530406 Opened 7 years ago Closed 7 years ago

Make HashableValue comparison of BigInts infallible

Categories

(Core :: JavaScript Engine, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla67
Tracking Status
firefox67 --- fixed

People

(Reporter: terpri, Assigned: terpri)

References

Details

Attachments

(1 external file)

HashableValue::operator== currently uses SameValue to compare BigInt values that are not identical but may be mathematically equal. BigInt::equal should be used instead, since unlike SameValue it is infallible and doesn't require access to a JSContext.

Assignee: nobody → robin
Keywords: checkin-needed

Pushed by ccoroiu@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d209ceb7588c
Make HashableValue comparison of BigInts infallible r=wingo,jwalden

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: