Closed
Bug 558227
Opened 15 years ago
Closed 15 years ago
JM: PIC for SETPROP
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
People
(Reporter: dmandelin, Assigned: dmandelin)
References
Details
Attachments
(1 file)
35.23 KB,
patch
|
Details | Diff | Splinter Review |
Mostly the inverse of getprop. The interpreter has an optimization for code like:
for (...) {
o = {}
o.a = 8;
o.b = 9; // we set to the same slot, and end up with same shape every time
}
where it holds the sprop for the new property in the prop cache entry, so it can try to increase the slot count in the object and update the scope without doing a full putProperty. That's way too complicated to do outside a stub call, but it probably still makes sense to do (inside a stub call). Testing will tell.
Assignee | ||
Comment 1•15 years ago
|
||
Assignee | ||
Comment 2•15 years ago
|
||
Pushed the basic PIC. Now it needs perf testing.
Assignee | ||
Comment 3•15 years ago
|
||
OK, done. Any further work in this area can be in new bugs.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•