Closed
Bug 619931
Opened 14 years ago
Closed 14 years ago
Exact tracer generator needs to provide more macro combinations
Categories
(Tamarin Graveyard :: Garbage Collection (mmGC), defect, P2)
Tamarin Graveyard
Garbage Collection (mmGC)
Tracking
(Not tracked)
RESOLVED
FIXED
Q3 11 - Serrano
People
(Reporter: lhansen, Assigned: lhansen)
References
Details
(Whiteboard: has-patch)
Attachments
(1 file, 1 obsolete file)
8.04 KB,
patch
|
pnkfelix
:
review+
|
Details | Diff | Splinter Review |
Specifically we need combinations of _WITH_HOOK and _IFDEF, etc.
Assignee | ||
Comment 1•14 years ago
|
||
Pretty straightforward, as the .hook and .ifdef properties on GCClass already compose; all we need is an update to the parser and two macro definitions in the C++ header file.
Attachment #498340 -
Flags: review?(fklockii)
Assignee | ||
Updated•14 years ago
|
Whiteboard: has-patch
Comment 2•14 years ago
|
||
Comment on attachment 498340 [details] [diff] [review]
Patch
Looking at the whole set of macros, should we have IFNDEF variants of all of these?
Perhaps it is not necessary because we assume that we will never see class definitions in #ifndef blocks *nor* in #else blocks for #ifdef's? So if it's a deliberate decision to leave this out, add a note saying so.
Attachment #498340 -
Flags: review?(fklockii) → review+
Assignee | ||
Comment 3•14 years ago
|
||
(In reply to comment #2)
> Comment on attachment 498340 [details] [diff] [review]
> Patch
>
> Looking at the whole set of macros, should we have IFNDEF variants of all of
> these?
>
> Perhaps it is not necessary because we assume that we will never see class
> definitions in #ifndef blocks *nor* in #else blocks for #ifdef's? So if it's a
> deliberate decision to leave this out, add a note saying so.
No, you're probably right - I'll add _IF and _IFNDEF variants and put it up for re-review.
Assignee | ||
Comment 4•14 years ago
|
||
Updated to add _IFNDEF and _IF variants for both kinds of class annotations, with and without hooks. This resulted in enough of an unreadable regex that I caved and reorganized the code locally but the change should be relatively transparent. Also tweaked the exactgc cookbook.
Attachment #498340 -
Attachment is obsolete: true
Attachment #500811 -
Flags: review?(fklockii)
Updated•14 years ago
|
Attachment #500811 -
Flags: review?(fklockii) → review+
Assignee | ||
Updated•14 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Updated•14 years ago
|
Flags: flashplayer-bug-
You need to log in
before you can comment on or make changes to this bug.
Description
•