Closed
Bug 585787
Opened 14 years ago
Closed 14 years ago
Replace global compares with compartment compares in quickstubs once the latter are fast
Categories
(Core :: XPConnect, defect)
Tracking
()
RESOLVED
FIXED
mozilla2.0b8
People
(Reporter: bzbarsky, Assigned: jst)
References
(Blocks 1 open bug)
Details
Attachments
(1 file, 3 obsolete files)
(deleted),
patch
|
mrbkap
:
review+
bzbarsky
:
approval2.0+
|
Details | Diff | Splinter Review |
See comments in the patch for bug 585783.
Assignee | ||
Comment 1•14 years ago
|
||
Attachment #485229 -
Flags: review?(mrbkap)
![]() |
Reporter | |
Comment 2•14 years ago
|
||
Why is the right thing cx->compartment and not obj->compartment() ?
Assignee | ||
Comment 3•14 years ago
|
||
Comment on attachment 485229 [details] [diff] [review] Fix. There's one more place that needs this change, new patch coming up.
Attachment #485229 -
Attachment is obsolete: true
Attachment #485229 -
Flags: review?(mrbkap)
Assignee | ||
Updated•14 years ago
|
Assignee: nobody → jst
Status: NEW → ASSIGNED
Comment 4•14 years ago
|
||
obj->compartment has to be equal to cx->compartment and cx->compartment is cheaper to read. We should assert this for extra safety.
Assignee | ||
Comment 5•14 years ago
|
||
Attachment #485232 -
Flags: review?(mrbkap)
![]() |
Reporter | |
Comment 6•14 years ago
|
||
The assertions went awol.... Andreas, thanks for explaining.
Assignee | ||
Comment 7•14 years ago
|
||
Comment on attachment 485232 [details] [diff] [review] Fix, both places covered, and with assertions. Duh, forgot to qref, new patch coming up.
Attachment #485232 -
Attachment is obsolete: true
Attachment #485232 -
Flags: review?(mrbkap)
Assignee | ||
Comment 8•14 years ago
|
||
Attachment #485310 -
Flags: review?(mrbkap)
Updated•14 years ago
|
Attachment #485310 -
Flags: review?(mrbkap) → review+
![]() |
Reporter | |
Comment 9•14 years ago
|
||
Can we land this, please? I'd really like to merge the patch for bug 590612 on top of this, instead of just conflicting with this change....
Assignee | ||
Updated•14 years ago
|
Attachment #485310 -
Flags: approval2.0?
![]() |
Reporter | |
Updated•14 years ago
|
Attachment #485310 -
Flags: approval2.0? → approval2.0+
![]() |
Reporter | |
Comment 10•14 years ago
|
||
Pushed http://hg.mozilla.org/mozilla-central/rev/410c9f17f0fc
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Flags: in-testsuite-
Resolution: --- → FIXED
Target Milestone: --- → mozilla2.0b8
![]() |
Reporter | |
Comment 11•14 years ago
|
||
![]() |
Reporter | |
Comment 12•14 years ago
|
||
Comment on attachment 490890 [details] [diff] [review] Peter's patch merged to Er... ignore this. bzexport fail.
Attachment #490890 -
Attachment is obsolete: true
You need to log in
before you can comment on or make changes to this bug.
Description
•