Open Bug 1392766 Opened 2 years ago Updated 2 years ago
JIT: Optimize std
std_Array is called a lot from self-hosted code. We currently only optimize it in Ion, we should optimize it in Baseline too.
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.
You need to log in before you can comment on or make changes to this bug.