Closed
Bug 774510
Opened 13 years ago
Closed 13 years ago
Remove uncessary typeOf hooks
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
People
(Reporter: evilpies, Assigned: evilpies)
References
Details
(Whiteboard: [js:t])
Attachments
(1 file, 1 obsolete file)
5.87 KB,
patch
|
dvander
:
review+
|
Details | Diff | Splinter Review |
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.
Attachment #642776 -
Flags: review?(dvander)
Assignee | ||
Updated•13 years ago
|
Assignee | ||
Comment 1•13 years ago
|
||
Forgot to refresh.
Attachment #642776 -
Attachment is obsolete: true
Attachment #642776 -
Flags: review?(dvander)
Assignee | ||
Updated•13 years ago
|
Attachment #642778 -
Flags: review?(dvander)
![]() |
||
Updated•13 years ago
|
Attachment #642778 -
Flags: review?(dvander) → review+
Assignee | ||
Comment 2•13 years ago
|
||
Assignee | ||
Comment 3•13 years ago
|
||
We could also land this on m-i.
Updated•13 years ago
|
Whiteboard: [js:t]
Assignee | ||
Updated•13 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•