Closed Bug 1667385 Opened 5 years ago Closed 5 years ago

Warp: Transpile MGuardHasGetterSetter

Categories

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

task

Tracking

()

RESOLVED FIXED
83 Branch
Tracking Status
firefox83 --- fixed

People

(Reporter: anba, Assigned: anba)

References

Details

Attachments

(2 files)

Bug 1667037 shows that it could be helpful to transpile GuardHasGetterSetter. I haven't investigated how the numbers from bug 1667037 change after transpiling GuardHasGetterSetter, though. For example after transpiling GuardHasGetterSetter, other unsupported CacheIR ops could still prevent to Warp-compile the IC.

The Baseline and Ion implementations didn't differentiate, so let's move them
to CacheIRCompiler.

Transpile GuardHasGetterSetter to use an ABI-call, just like we do in the CacheIR
implementation.

Depends on D91429

Severity: -- → N/A
Priority: -- → P1

(In reply to André Bargull [:anba] from comment #0)

I haven't investigated how the numbers from bug 1667037 change after transpiling GuardHasGetterSetter, though.

I've tested the patch on youtube.com (499 of 802 GuardHasGetterSetter calls were on youtube) and the number of other non-transpilable CacheIR ops didn't surge, so this patch does this seem to help.

Pushed by cbrindusan@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b5dff52c4008 Part 1: Change GuardHasGetterSetter to a shared CacheIR op. r=jandem https://hg.mozilla.org/integration/autoland/rev/7e0b73408fe8 Part 2: Transpile GuardHasGetterSetter. r=jandem
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 83 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: