Closed
Bug 1091010
Opened 10 years ago
Closed 10 years ago
Optimize TypedObject.length in Ion
Categories
(Core :: JavaScript Engine: JIT, defect)
Tracking
()
RESOLVED
FIXED
mozilla36
People
(Reporter: bhackett1024, Assigned: bhackett1024)
References
Details
Attachments
(1 file)
11.69 KB,
patch
|
nmatsakis
:
review+
|
Details | Diff | Splinter Review |
Ion has functionality for computing the length of typed objects, but doesn't optimize .length accesses on them. This is pretty easy to fix. The main complexity is that accessing .length on a typed object when the buffer has been neutered will throw, instead of returning zero like on a typed array, which changes how we handle deoptimization when unsized arrays are neutered. This change fits in well with the pending removal of unsized arrays anyhow.
Attachment #8513534 -
Flags: review?(nmatsakis)
Updated•10 years ago
|
Attachment #8513534 -
Flags: review?(nmatsakis) → review+
Assignee | ||
Comment 1•10 years ago
|
||
Comment 2•10 years ago
|
||
Assignee: nobody → bhackett1024
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla36
You need to log in
before you can comment on or make changes to this bug.
Description
•