Created attachment 642776 [details] [diff] [review] v1 The default behaviour for objects without a typeOf hook is to return "object". In the most cases we actually want that and don't need to implement that hook and explicitly return JSTYPE_OBJECT. This is mostly done to prevent bailouts for MTypeOfIs on dense arrays in IonMonkey, which are probably common.
OS: Linux → All
Hardware: x86_64 → All
Created attachment 642778 [details] [diff] [review] v1 Forgot to refresh.
Attachment #642778 - Flags: review?(dvander)
Attachment #642778 - Flags: review?(dvander) → review+
We could also land this on m-i.
Status: ASSIGNED → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.