Open Bug 1231922 Opened 9 years ago Updated 1 year ago

Improve the code for the double emptyElementsHeader check

Categories

(Core :: JavaScript Engine: JIT, defect, P5)

defect

Tracking

()

People

(Reporter: lth, Unassigned)

References

(Blocks 1 open bug)

Details

(For background see bug 1176214 comment 77, with earlier and later comments.) There are two emptyElementsHeader structures, and code generated for checking against these is a double test-and-branch pattern. sfink observes that it's possible to reduce this to one test-and-branch with a subtract, if those header structures can be adjacent in memory. This is long-tail stuff, I don't think the checking code is all that hot, but it's nice to do as well as we can.
Priority: -- → P5
Blocks: 1317626
No longer blocks: shared-array-buffer
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.