[Issue 12326] New: [IMPLEMENTATION] Move hidden debug switches into a backend-specific struct.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Mar 9 05:06:34 PDT 2014


https://d.puremagic.com/issues/show_bug.cgi?id=12326

           Summary: [IMPLEMENTATION] Move hidden debug switches into a
                    backend-specific struct.
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: ibuclaw at ubuntu.com


--- Comment #0 from Iain Buclaw <ibuclaw at ubuntu.com> 2014-03-09 05:06:32 PDT ---
There are a number of unknown fields in the mars.h (struct Params) that are
only commented with:

// hidden debug switches

Likewise in GDC, we have some of our own additions to this struct that are not
in use by DMD or LDC, so I suggest that a new backend specific structure (eg:
struct Compiler) that is both unused and transparent to the frontend should
replace this.

This would contribute to making the frontend code shared among DMD, GDC, and
LDC.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list