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)

defect

Tracking

(Not tracked)

RESOLVED FIXED
Q3 11 - Serrano

People

(Reporter: lhansen, Assigned: lhansen)

References

Details

(Whiteboard: has-patch)

Attachments

(1 file, 1 obsolete file)

Specifically we need combinations of _WITH_HOOK and _IFDEF, etc.
Attached patch Patch (obsolete) — Splinter Review
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)
Whiteboard: has-patch
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+
(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.
Attached patch Patch, v2Splinter Review
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)
Attachment #500811 - Flags: review?(fklockii) → review+
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Flags: flashplayer-bug-
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: