Closed Bug 1618516 Opened 5 years ago Closed 5 years ago

Fix remaining uses of is/as<JSScript>()

Categories

(Core :: JavaScript Engine, defect, P1)

defect

Tracking

()

RESOLVED FIXED
mozilla75
Tracking Status
firefox75 --- fixed

People

(Reporter: tcampbell, Assigned: tcampbell)

References

Details

Attachments

(1 file)

This is a follow-up to Bug 1615143. GCCellPtr doesn't distinguish between LazyScript/JSScript so use is<BaseScript>() instead. These fixes are benign, but are footguns worth fixing.

These checks only check the trace-kind is BaseScript. Fix the code to refer
to these types directly to avoid confusion.

Pushed by tcampbell@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/41f66cfd20dc Fix remaining uses of is/as<JSScript>(). r=jandem
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla75
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: