Closed Bug 454266 Opened 16 years ago Closed 16 years ago

js_FillPropertyCache uses the wrong scope's shape sometimes

Categories

(Core :: JavaScript Engine, defect, P1)

defect

Tracking

()

RESOLVED FIXED
mozilla1.9.1b1

People

(Reporter: brendan, Assigned: brendan)

References

Details

Attachments

(1 file)

The patch for bug 445899 lost the obj == pobj condition guarding the update of kshape (the filled entry's "key shape") from scope->shape (where scope is always OBJ_SCOPE(pobj)). This is bad, it happens to help cases where the got property is direct, but it guarantees a miss for indirect properties.

/be
Priority: -- → P1
Target Milestone: --- → mozilla1.9.1b1
Attached patch fixSplinter Review
shaver's out sick, need to get this in. It exposes the rest of my arguments work being undone when I test v8/raytrace.js with this plus three other patches, but that's a good sign.

Passes the js testsuit with same failures as without.

/be
Attachment #337538 - Flags: review?(mrbkap)
Attachment #337538 - Flags: review?(mrbkap) → review+
Fixed:

http://hg.mozilla.org/tracemonkey/rev/728cf8bf1648
http://hg.mozilla.org/mozilla-central/rev/71c48ddc9e8c

/be
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Flags: in-testsuite-
Flags: in-litmus-
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: