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)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
mozilla26
People
(Reporter: shu, Assigned: shu)
References
Details
Attachments
(1 file)
3.38 KB,
patch
|
bhackett1024
:
review+
|
Details | Diff | Splinter Review |
Due to not being able to call Monitor in parallel, all property reads that go through ICs in parallel need a type barrier.
Assignee | ||
Comment 1•12 years ago
|
||
Assignee: general → shu
Attachment #788430 -
Flags: review?(bhackett1024)
Comment 2•12 years ago
|
||
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+
Assignee | ||
Comment 3•12 years ago
|
||
Comment 4•12 years ago
|
||
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.
Description
•