Open Bug 1392766 Opened 2 years ago Updated 2 years ago

JIT: Optimize std_Array calls

Categories

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

56 Branch
enhancement

Tracking

()

Tracking Status
firefox57 --- wontfix

People

(Reporter: djvj, Assigned: djvj)

References

(Blocks 1 open bug)

Details

(Keywords: perf)

Attachments

(1 file)

std_Array is called a lot from self-hosted code.  We currently only optimize it in Ion, we should optimize it in Baseline too.
Assignee: nobody → kvijayan
Initial baseline optimization.  This will cause a regression because it will suppress the classic ICCall_Native stub that would have otherwise been attached, and Ion uses that to extract the template object it uses to compute the template-object to return.

I really dislike the usage of template objects - we should actually be able to just pull the group directly in Ion and pass it into our MInstructions via a side-channel.
Keywords: perf
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.