Closed
Bug 1334251
Opened 9 years ago
Closed 9 years ago
Inline Object.prototype.valueOf
Categories
(Core :: JavaScript Engine: JIT, defect, P3)
Core
JavaScript Engine: JIT
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: evilpies, Assigned: evilpies)
References
Details
Should be quite easy.
Updated•9 years ago
|
Priority: -- → P3
| Assignee | ||
Comment 1•9 years ago
|
||
I looked into this and doing this is basically silly. In Ion we will most likely always inline Object.prototype.valueOf, because it's a tiny function. If valueOf is called on an object we will even inline ToObject. If not we end up with a single call, which is not different from what we had before. Changing ToObject to handle primitives just for this bug seems silly.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•