Closed Bug 1666230 Opened 4 years ago Closed 4 years ago

Tidy up CacheIR op metadata

Categories

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

task

Tracking

()

RESOLVED FIXED
83 Branch
Tracking Status
firefox83 --- fixed

People

(Reporter: jandem, Assigned: jandem)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

  • The arg lengths array is used in a few places and can store a byte per op instead of uint32_t for better cache locality.

  • It could also store a transpile flag so we can simplify some code.

Replace argLengths array with a byte-sized struct that stores both the arg length
and transpile flag. Use this flag in WarpOracle instead of the switch-statement.
The flag could also be used by trial inlining to check for un-transpilable ops.

Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 83 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: