Closed Bug 1636918 Opened 5 years ago Closed 5 years ago

Add folding for more guard instructions

Categories

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

enhancement

Tracking

()

RESOLVED FIXED
mozilla78
Tracking Status
firefox78 --- fixed

People

(Reporter: evilpie, Assigned: evilpie)

References

(Blocks 1 open bug)

Details

Attachments

(3 files)

Some newly added guard instructions have a MIRType::None result type. That makes is impossible to use foldsTo. So instead pass through the input values. This additionally gives us some correctness/safety benefits, because that makes it harder to wrongly reorder the guard instructions.

Summary: Add folding for more guard instructions. → Add folding for more guard instructions
Severity: -- → N/A
Priority: -- → P3

Depends on D74704

Depends on D74705

Pushed by evilpies@gmail.com: https://hg.mozilla.org/integration/autoland/rev/acd69c719c1f Folding for MGuardSpecificAtom. r=jandem https://hg.mozilla.org/integration/autoland/rev/de44f702be4f Folding for MGuardValue. r=jandem https://hg.mozilla.org/integration/autoland/rev/90fc07d2d162 Folding for MGuardNullOrUndefined. r=jandem
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: