Open Bug 1392766 Opened 2 years ago Updated 2 years ago

JIT: Optimize std_Array calls


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

56 Branch



Tracking Status
firefox57 --- wontfix


(Reporter: djvj, Assigned: djvj)


(Blocks 1 open bug)


(Keywords: perf)


(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.