Closed Bug 1935635 Opened 2 months ago Closed 2 months ago

Don't call IsPossiblyWrappedTypedArray for non-wrapper proxies

Categories

(Core :: JavaScript Engine: JIT, task)

task

Tracking

()

RESOLVED FIXED
135 Branch
Tracking Status
firefox135 --- fixed

People

(Reporter: jandem, Assigned: jandem)

References

(Blocks 1 open bug)

Details

(Whiteboard: [sp3])

Attachments

(2 files)

This is only #39 on the list in bug 1935626, but of the > 100k calls to this function, more than 98.5% are for non-wrapper proxies and we can avoid the call completely in this case.

Both wrapper and non-wrapper cases are covered by jit-test/tests/cacheir/typed-array-intrinsics.js.

Pushed by jdemooij@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/00b2b9859efe Don't call IsPossiblyWrappedTypedArray for non-wrapper proxies. r=anba
Regressions: 1935682
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 135 Branch
Whiteboard: [sp3]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: