Closed Bug 1941947 Opened 1 month ago Closed 23 days ago

Support non-index doubles as property keys in CacheIR

Categories

(Core :: JavaScript Engine: JIT, enhancement, P2)

enhancement

Tracking

()

RESOLVED FIXED
136 Branch
Tracking Status
firefox136 --- fixed

People

(Reporter: iain, Assigned: iain)

References

(Blocks 2 open bugs)

Details

Attachments

(3 files)

After bug 1932864, there are only a few types that are not supported as property keys by CacheIR: objects, BigInts, and doubles. Doubles show up in small numbers in sp3, so it's probably worth adding support.

Blocks: 1932864, 1938100
Blocks: 1816609

We previously only had support for comparing a Value against a constant or BaseIndex.

Instead of unboxing a value and then using a second branch to test its payload, it seems better to do a single 64-bit comparison.

This will also be used in the next patch to handle doubles.

See Also: → 1823895
Pushed by iireland@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b056911064c0 Support Address in branchTestValue r=jandem https://hg.mozilla.org/integration/autoland/rev/6368dfc3256c Add GuardSpecificValue r=jandem https://hg.mozilla.org/integration/autoland/rev/8f2b32df275c Handle non-index doubles as property keys r=jandem
Status: NEW → RESOLVED
Closed: 23 days ago
Resolution: --- → FIXED
Target Milestone: --- → 136 Branch
Regressions: 1943704
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: