Closed Bug 1663650 Opened 4 years ago Closed 4 years ago

Optimise String when called as a constructor

Categories

(Core :: JavaScript Engine: JIT, task, P2)

task

Tracking

()

RESOLVED FIXED
82 Branch
Tracking Status
firefox82 --- fixed

People

(Reporter: anba, Assigned: anba)

References

Details

Attachments

(1 file)

I've recently seen code calling new String(x), so that still seems to be a thing worth optimising...

The shareable code with the existing tryAttachString() was minimal, therefore
a separate function was added to handle the case when String() is called as a
constructor.

Severity: -- → N/A
Priority: -- → P2
Pushed by ccoroiu@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/fdd037c9557e Optimise String when called as a constructor in CacheIR and Warp. r=jandem
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 82 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: