Closed Bug 1691194 Opened 5 years ago Closed 5 years ago

Inline more large self-hosted functions (substring-like)

Categories

(Core :: JavaScript Engine: JIT, task)

task

Tracking

()

RESOLVED FIXED
87 Branch
Tracking Status
firefox87 --- fixed

People

(Reporter: evilpies, Assigned: evilpies)

Details

Attachments

(2 files)

No description provided.

They are just relatively slim wrappers around native SubstringKernel

Depends on D104307

Pushed by evilpies@gmail.com: https://hg.mozilla.org/integration/autoland/rev/1918677e9b5b Add more logging for non-inlinenable functions in TrialInlining. r=iain https://hg.mozilla.org/integration/autoland/rev/ff11b7b68ed0 Inline substring-like functions. r=iain
Keywords: leave-open
Backout by abutkovits@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/fe2bff61b4ef Backed out 2 changesets for causing Spidermonkey failures. CLOSED TREE
Pushed by evilpies@gmail.com: https://hg.mozilla.org/integration/autoland/rev/c4ee20b1c31b Add more logging for non-inlinenable functions in TrialInlining. r=iain https://hg.mozilla.org/integration/autoland/rev/33811f651b65 Inline substring-like functions. r=iain
Flags: needinfo?(evilpies)
Summary: Inline more large self-hosted functions → Inline more large self-hosted functions (substring-like)

There are some more things we should probably inline in the future, but aren't necessarily useful or possible right now.

  • ArrayIterator#next: I think we could inline this, but we can't currently eliminate the result object creation. We would need to improve scalar replacement for this.
  • Other iterators: Probably similar
  • Array#map, Array#forEach etc.: These methods currently use arguments[1] and need bug 1688033 with inlining support.

We should maybe create a checklist of all self-hosted builtins and decide case by case.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Keywords: leave-open
Target Milestone: --- → 87 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: