Consider desugaring JSOP_INSTANCEOF bytecode

NEW
Unassigned

Status

()

enhancement
P3
normal
2 years ago
2 years ago

People

(Reporter: jandem, Unassigned)

Tracking

(Blocks 1 bug)

unspecified
Points:
---

Firefox Tracking Flags

(firefox57 wontfix)

Details

(Whiteboard: [js:tech-debt])

(Reporter)

Description

2 years ago
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]
You need to log in before you can comment on or make changes to this bug.