Closed
Bug 996798
Opened 11 years ago
Closed 11 years ago
make node/wrappercache flags type a typedef instead of typing uint32_t everywhere
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla33
People
(Reporter: dbaron, Assigned: dbaron)
Details
Attachments
(2 files)
7.70 KB,
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
1.26 KB,
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
I have a patch to make the nsINode/nsWrapperCache flags type a typedef rather than typing uint32_t everywhere.
I was thinking I might need this to temporarily bump to 64-bit for bug 996796, at least temporarily until bug 960465 is complete, but I think we have the spare bits that we don't need to. There are also some issues with bug 960465 that I don't yet know how to solve, so there might be a more substantial gap in time than I originally though between when those two changes land (or it might be that the fix for those issues involves not giving the two bits back).
Assignee | ||
Comment 1•11 years ago
|
||
Attachment #8407063 -
Flags: review?(bzbarsky)
Assignee | ||
Comment 2•11 years ago
|
||
(For the record, I'm currently 1 bit short for my need for 2 bits for bug 996796.)
Assignee | ||
Comment 3•11 years ago
|
||
(Currently we have 31 bits used: 2 on nsWrapperCache, 22 on nsINode, 4 on Element, and 3 on nsXULElement.)
Comment 4•11 years ago
|
||
Don't we have still spare BooleanFlags
![]() |
||
Comment 5•11 years ago
|
||
Did the patch in bug 8388060 ever land? If not, we should land it.
![]() |
||
Comment 6•11 years ago
|
||
Er, I meant bug 981257.
![]() |
||
Comment 7•11 years ago
|
||
Comment on attachment 8407063 [details] [diff] [review]
Add a typedef to make it easier to change the size of nsWrapperCache/nsINode flags
r=me
Attachment #8407063 -
Flags: review?(bzbarsky) → review+
Assignee | ||
Comment 8•11 years ago
|
||
Assignee | ||
Comment 9•11 years ago
|
||
![]() |
||
Comment 10•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla33
Assignee | ||
Comment 11•11 years ago
|
||
Attachment #8447668 -
Flags: review?(bzbarsky)
![]() |
||
Comment 12•11 years ago
|
||
Comment on attachment 8447668 [details] [diff] [review]
patch 2 - Make the ability to change nsWrapperCache::FlagsType more portable
r=me
Attachment #8447668 -
Flags: review?(bzbarsky) → review+
Assignee | ||
Comment 13•11 years ago
|
||
![]() |
||
Comment 14•11 years ago
|
||
Updated•7 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•