Closed Bug 774510 Opened 9 years ago Closed 9 years ago
Remove uncessary type
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
Forgot to refresh.
Attachment #642778 - Flags: review?(dvander) → review+
We could also land this on m-i.
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.