Closed
Bug 418239
Opened 18 years ago
Closed 18 years ago
PROPERTY_CACHE_TEST doesn't hit for native prototype of non-native dense array
Categories
(Core :: JavaScript Engine, defect, P2)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
mozilla1.9beta4
People
(Reporter: shaver, Assigned: brendan)
References
Details
Attachments
(1 file)
|
16.16 KB,
patch
|
shaver
:
review+
brendan
:
approval1.9+
|
Details | Diff | Splinter Review |
The property cache isn't used for non-native objects (after bug 417981 is fixed, especially), including cases in which a non-native object has a native prototype. This will be the most common array.method() case once bug 322889 lands, though I'm not sure it's otherwise common.
| Assignee | ||
Updated•18 years ago
|
Assignee: general → brendan
Flags: blocking1.9+
Priority: -- → P2
Target Milestone: --- → mozilla1.9beta4
| Assignee | ||
Comment 1•18 years ago
|
||
Calling this a bug, not an RFE.
/be
Severity: enhancement → major
Status: NEW → ASSIGNED
| Assignee | ||
Comment 2•18 years ago
|
||
I prefer to be very concrete at this stage, not try to abstract cacheability over various JSObjectOps impls.
/be
Attachment #304156 -
Flags: review?(shaver)
| Assignee | ||
Updated•18 years ago
|
Summary: PROPERTY_CACHE_TEST doesn't hit for native prototypes of non-native objects → PROPERTY_CACHE_TEST doesn't hit for native prototype of non-native dense array
| Reporter | ||
Comment 3•18 years ago
|
||
Comment on attachment 304156 [details] [diff] [review]
this should do it
So simple! r=shaver conditional on the suite and clean mochis/make-check.
Attachment #304156 -
Flags: review?(shaver) → review+
| Assignee | ||
Comment 4•18 years ago
|
||
Comment on attachment 304156 [details] [diff] [review]
this should do it
Passes js testsuite and mochitests.
/be
Attachment #304156 -
Flags: approval1.9+
| Assignee | ||
Comment 5•18 years ago
|
||
Fixed:
js/src/jsarray.c 3.158
js/src/jsarray.h 3.24
js/src/jsinterp.c 3.434
/be
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Updated•18 years ago
|
Flags: in-testsuite+
Flags: in-litmus-
Updated•18 years ago
|
Flags: in-testsuite+ → in-testsuite-
You need to log in
before you can comment on or make changes to this bug.
Description
•