Closed
Bug 585787
Opened 16 years ago
Closed 15 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)
|
2.22 KB,
patch
|
mrbkap
:
review+
bzbarsky
:
approval2.0+
|
Details | Diff | Splinter Review |
See comments in the patch for bug 585783.
| Assignee | ||
Comment 1•15 years ago
|
||
Attachment #485229 -
Flags: review?(mrbkap)
| Reporter | ||
Comment 2•15 years ago
|
||
Why is the right thing cx->compartment and not obj->compartment() ?
| Assignee | ||
Comment 3•15 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•15 years ago
|
Assignee: nobody → jst
Status: NEW → ASSIGNED
Comment 4•15 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•15 years ago
|
||
Attachment #485232 -
Flags: review?(mrbkap)
| Reporter | ||
Comment 6•15 years ago
|
||
The assertions went awol....
Andreas, thanks for explaining.
| Assignee | ||
Comment 7•15 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•15 years ago
|
||
Attachment #485310 -
Flags: review?(mrbkap)
Updated•15 years ago
|
Attachment #485310 -
Flags: review?(mrbkap) → review+
| Reporter | ||
Comment 9•15 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•15 years ago
|
Attachment #485310 -
Flags: approval2.0?
| Reporter | ||
Updated•15 years ago
|
Attachment #485310 -
Flags: approval2.0? → approval2.0+
| Reporter | ||
Comment 10•15 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Flags: in-testsuite-
Resolution: --- → FIXED
Target Milestone: --- → mozilla2.0b8
| Reporter | ||
Comment 11•15 years ago
|
||
| Reporter | ||
Comment 12•15 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
•