Closed Bug 1635396 Opened 4 years ago Closed 4 years ago

Remove always-false if-statement in IonBuilder::jsop_newtarget

Categories

(Core :: JavaScript Engine: JIT, task)

task

Tracking

()

RESOLVED FIXED
mozilla78
Tracking Status
firefox78 --- fixed

People

(Reporter: anba, Assigned: anba)

Details

Attachments

(1 file)

Noticed during review for bug 1634698:

JSOp::NewTarget is only emitted in function scopes, so info().funMaybeLazy() is never null in IonBuilder::jsop_newtarget().

JSOp::NewTarget is only emitted in function contexts.

Depends on D73831

Pushed by rmaries@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/dd8d733a99d5
Remove always-false if-statement in IonBuilder::jsop_newtarget. r=jandem
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla78
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: