Closed Bug 903655 Opened 12 years ago Closed 12 years ago

PJS: jsop_getelem needs to always insert a barrier

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla26

People

(Reporter: shu, Assigned: shu)

References

Details

Attachments

(1 file)

Due to not being able to call Monitor in parallel, all property reads that go through ICs in parallel need a type barrier.
Assignee: general → shu
Attachment #788430 - Flags: review?(bhackett1024)
Blocks: 875452
Comment on attachment 788430 [details] [diff] [review] bug903655-monitor-getelem.patch Review of attachment 788430 [details] [diff] [review]: ----------------------------------------------------------------- ::: js/src/ion/IonBuilder.cpp @@ +8027,5 @@ > > // GetPropertyParIC cannot safely call TypeScript::Monitor to ensure that > // the observed type set contains undefined. To account for possible > // missing properties, which property types do not track, we must always > // insert a type barrier. I think this comment should go in needsToMonitorMissingProperties, then you don't need any notes here or in the jsop_getelem test.
Attachment #788430 - Flags: review?(bhackett1024) → review+
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla26
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: