Closed Bug 1687959 Opened 3 years ago Closed 2 years ago

Simplify MIR generation in buildSuspend by combining load and unbox

Categories

(Core :: JavaScript Engine: JIT, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
99 Branch
Tracking Status
firefox99 --- fixed

People

(Reporter: mgaudet, Assigned: bthrall)

Details

Attachments

(3 files, 1 obsolete file)

In buildSuspend, we do MLoadFixedSlot and then MUnbox

It should be possible to replace this with MLoadFixedSlotAndUnbox

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

If we do this we should make sure we change the BailoutKind in the constructor.

Assignee: nobody → bthrall
Status: NEW → ASSIGNED
Attached file build.log (obsolete) —

Here is my build log (after doing ./mach clobber). I now see the '-CETCOMPAT' flag is being sent, which explains why CET is being enabled.

I'm not familiar enough with Mozilla's build system to know how to disable CET, though. Any ideas?

(In reply to Bryan Thrall [:bthrall] from comment #2)

Created attachment 9262853 [details]
build.log

Here is my build log (after doing ./mach clobber). I now see the '-CETCOMPAT' flag is being sent, which explains why CET is being enabled.

I'm not familiar enough with Mozilla's build system to know how to disable CET, though. Any ideas?

Oops, wrong bug! Please ignore this message and attachment.

Attachment #9262853 - Attachment is obsolete: true

All three load operations are handled consistently now.

Depends on D138586

Pushed by jdemooij@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/71583afe4ed8
Move setBailoutKind() out of MLoadFixedSlotAndUnbox constructor r=jandem
https://hg.mozilla.org/integration/autoland/rev/15bfcf423726
Replace MLoadFixedSlot and MUnbox with MLoadFixedSlotAndUnbox r=jandem
https://hg.mozilla.org/integration/autoland/rev/46383f17a355
Move setBailoutKind() out of MLoadDynamicSlotAndUnbox, MLoadElementAndUnbox r=jandem
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 99 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: