Open Bug 1385282 Opened 7 years ago Updated 1 year ago

Consider desugaring JSOP_INSTANCEOF bytecode

Categories

(Core :: JavaScript Engine, enhancement, P3)

enhancement

Tracking

()

Tracking Status
firefox57 --- wontfix

People

(Reporter: jandem, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [js:tech-debt])

Not sure what this would look like (the hasInstance Class check is annoying), but it would be nice to use a plain JSOP_GETELEM followed by JSOP_CALL for the @@hasInstance lookup since we already have machinery to optimize that...

(See the instanceof part in bug 1374934 comment 6.)
Priority: -- → P3
Whiteboard: [js:tech-debt]
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.