Open
Bug 1875809
Opened 2 years ago
Updated 2 years ago
Directly call SubstringKernel in self-hosted code
Categories
(Core :: JavaScript Engine: JIT, task, P3)
Core
JavaScript Engine: JIT
Tracking
()
NEW
People
(Reporter: anba, Unassigned)
References
(Blocks 1 open bug)
Details
We should try to remove the Substring wrapper function which just forwards to SubstringKernel and instead directly call SubstringKernel in self-hosted code. This requires at least two changes:
- CacheIR compiling for
SubstringKernelneeds to handle the case when int32 values are typed as doubles. - Warp transpiling
SubstringKernelneeds to add theMath.maxcalls which were added bug 1874929. We then need to verify GVN can remove these additionalMath.maxwhenSubstringKernelis called from the self-hostedString.prototype.{sustring,substr,slice}functions.
Updated•2 years ago
|
Updated•2 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•