Closed Bug 1527897 Opened 10 months ago Closed 9 months ago

Optimize js::getProperty on bigint values to not create wrapper object

Categories

(Core :: JavaScript Engine, enhancement)

enhancement
Not set

Tracking

()

RESOLVED FIXED
mozilla67
Tracking Status
firefox67 --- fixed

People

(Reporter: wingo, Assigned: wingo)

References

Details

Attachments

(1 file)

In Interpreter.cpp, js::getGetProperty has an optimization that for primitives, we don't need to create a wrapper object in order to get a property -- we can just look directly on the prototype object. This function should be extended to have a case for BigInt.

Blocks: js-bigint-ship
No longer blocks: js-bigint
Assignee: nobody → wingo
Keywords: checkin-needed

Pushed by opoprus@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/9527be2c6bcf
Optimize js::getProperty on bigint values to not create wrapper object r=jandem

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